It was narrated that Abu Hurairah said:
"A Bedouin stood up and urinated in the Masjid, ans the people started shouting. The Messenger of Allah (ﷺ) said to them: 'Leave him alone, and spill a bucket of water over his urine. For you have been sent to make things easy for people, you have not been sent to make things difficult.'" (ES)
Arabic/English book reference (ES): Vol. 1, Book 1, Hadith 56 (ES)