Sahih al-Bukhari — Good Manners and Form (Al-Adab) — Hadith No: 6025
Translation
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