1230 - حَدَّثَنَا الْحُمَيْدِيُّ قَالَ: ثنا سُفْيَانُ، قَالَ: ثنا يَحْيَي بْنُ سَعِيدٍ، قَالَ: سَمِعْتُ أَنَسَ بْنَ مَالِكٍ، يَقُولُ: بَالَ أَعْرَابِيٌّ فِي الْمَسْجِدِ، فَجَعَلَ النَّاسُ يَنْظُرُونَ إِلَيْهِ، فَنَهَاهُمْ رَسُولُ اللَّهِ صَلَّي اللهُ عَلَيْهِ وَسَلَّمَ وَقَالَ: «صُبُّوا عَلَيْهِ دَلْوًا مِنْ مَاءٍ»
Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: A bedouin urinated in the mosque. The people began to look towards him (angrily), so the Noble Prophet (peace and blessings be upon him) stopped them and said: "Pour a bucket of water over it."
Related hadith on this topic