(57) باب تَرْكِ النَّبِيِّ صلى الله عليه وسلم وَالنَّاسِ الأَعْرَابِيَّ حَتَّى فَرَغَ مِنْ بَوْلِهِ فِي الْمَسْجِدِ
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).
Reference: Sahih al-Bukhari 219
In-book reference: Book 4, Hadith 85
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 4, Hadith 218