Abu Hurairah (May Allah be pleased with him) reported:
A bedouin urinated in the mosque and some people rushed to beat him up. The Prophet (ﷺ) said: "Leave him alone and pour a bucket of water over it. You have been sent to make things easy and not to make them difficult."[Al-Bukhari].
Arabic/English book reference: Book 1, Hadith 636