Mohammed plagerized the Old Testament (or Torah) taking entire sections and then managed to write in his unholy book, references to Jesus Christ and the Blessed Virgin Mary, et al.
There was no borrowing. The pervert just rewrote Holy Scripture.
The washing of nostrils and other body parts were, of course, added willy nilly to his abomination along with the other original parts about killing infidels until your blade wears out.
It is easy to mock any religion.