(35) باب الرِّفْقِ فِي الأَمْرِ كُلِّهِ
Narrated Anas bin Malik:
A bedouin urinated in the mosque and the people ran to (beat) him. Allah's Messenger (ﷺ) said, "Do not interrupt his urination (i.e. let him finish)." Then the Prophet (ﷺ) asked for a tumbler of water and poured the water over the place of urine.
Reference: Sahih al-Bukhari 6025
In-book reference: Book 78, Hadith 56
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 73, Hadith 54