Sahih al-Bukhari
Sahih al-Bukhari 174
Arabic hadith text
وَقَالَ أَحْمَدُ بْنُ شَبِيبٍ حَدَّثَنَا أَبِي، عَنْ يُونُسَ، عَنِ ابْنِ شِهَابٍ، قَالَ حَدَّثَنِي حَمْزَةُ بْنُ عَبْدِ اللَّهِ، عَنْ أَبِيهِ، قَالَ كَانَتِ الْكِلاَبُ تَبُولُ وَتُقْبِلُ وَتُدْبِرُ فِي الْمَسْجِدِ فِي زَمَانِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَلَمْ يَكُونُوا يَرُشُّونَ شَيْئًا مِنْ ذَلِكَ.
Translation
Ahmad ibn Shabib said: My father narrated to us, from Yunus, from Ibn Shihab, who said: Hamzah ibn Abdullah narrated to me, from his father, who said: In the time of the Messenger of Allah (ﷺ), dogs used to urinate and come and go in the mosque, yet they did not sprinkle anything because of that.