Zaid b. Haritha reported on the Prophet’s authority that when he first received inspiration Gabriel came to him and taught him the ablution and the prayer. When he finished the ablution he took a handful of water and sprinkled his private parts with it.
Abu Huraira reported God’s messenger as saying that Gabriel came to him and said, “When you perform ablution, Muhammad, sprinkle yourself.”
Tirmidhi transmitted it and said, “This is a gharib tradition, and I heard Muhammad (i.e. Bukhari) say that the traditions of al-Hasan b. ‘Ali al-Hashimi the transmitter are rejected.”
The Prophet saw me standing and passing water and said, "‘Umar, do not pass water standing." So I never did it again.
Tirmidhi and Ibn Majah transmitted it. The shaikh and imam Muhyi as-Sunna has given a sound tradition from Hudhaifa who said that the Prophet came to a midden and passed water standing. (Bukhari and Muslim.) It is said that that had a valid reason.