´Abu Hurairah narrated:` "A Bedouin entered the Masjid while the Prophet was sitting. He prayed, then when he was finished, he said: 'O Allah! Have mercy upon me and Muhammad, and do not have mercy on anyone along with us.' The Prophet turned, towards him and said: 'You have restricted something that is unrestricted.' It was not long before he was urinating in the Masjid. So the people rushed to him. But Prophet said: 'Pour a bucket of water over it - or - a tumbler of water over it.' Then he said: 'You have been sent to make things easy (for the people); you have not been sent to make things difficult for them.'"
Hadith Referenceسنن ترمذي / كتاب الطهارة عن رسول الله صلى الله عليه وسلم / 147
´Anas bin Malik narrated similar to this (no. 147).:` [He said:] There are narrations on this topic from 'Abdullah bin Mas'ud, Ibn Abbas, and Wathilah bin AI-Asqa.
Hadith Referenceسنن ترمذي / كتاب الطهارة عن رسول الله صلى الله عليه وسلم / 148
Hadith Gradingالألبانی:صحيح، صحيح أبي داود تحت الحديث (405)