Yahya related to me from Malik that Yahya ibn Said said, "ABedouin came into the mosque and uncovered his private parts tourinate. The people called out to him and began to raise their voicesbut the Messenger of Allah, may Allah bless him and grant him peace,said ,'Let him be. 'So they let him be and he urinated. Then theMessenger of Allah, may Allah bless him and grant him peace, ordered abucketful of water to be brought and it was poured on the place."
USC-MSA web (English) reference: Book 2, Hadith 113
Arabic reference: Book 2, Hadith 142