فَتَرَكُوهُ حَتَّى بَالَ، ثُمَّ إِنَّ رَسُولَ اللَّهِ ﷺ دَعَاهُ، فَقَالَ لَهُ: «إِنَّ هَذِهِ الْمَسَاجِدَ لَا تَصْلُحُ لِشَيْءٍ مِنْ هَذَا الْبَوْلِ وَالْقَذَرِ، وَإِنَّمَا هِيَ لِذِكْرِ اللَّهِ وَالصَّلَاةِ وَقِرَاءَةِ الْقُرْآنِ» أَوْ كَمَا قَالَ رَسُولُ اللَّهِ ﷺ. قَالَ: وَأَمَرَ رَجُلًا مِنَ الْقَوْمِ، فَجَاءَ بِدَلْوٍ مِنْ مَاءٍ، فَشَنَّهُ عَلَيْهِ.
Translation: The man was allowed to finish. The Prophet ﷺ then explained that mosques are for remembrance, prayer, and Qur'an recitation—not filth. He had water poured over the affected place.
Source: al-Bukhari and Muslim, as printed.
The response combined gentleness, clear instruction, and practical cleaning.