Sahih al-Bukhari, Book 4, Hadith 85 (Bukhari 219)

Narrated Anas bin Malik:

The Prophet (ﷺ) saw a Bedouin making water in the mosque and told the people not to disturb him. When he finished, the Prophet (ﷺ) asked for some water and poured it over (the urine).