Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:1153Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-Ḥasan Muḥammad b. Muḥammad b. al-Ḥasan > Abū ʿAbdullāh Muḥammad b. ʿAlī b. Zayd al-Ṣāʾigh > Aḥmad b. Shabīb b. Saʿīd from my father > Yūnus > Ibn Shihāb > Ḥamzah b. ʿAbdullāh > ʿAbdullāh b. ʿUmar

[Machine] I used to stay overnight in the mosque during the time of the Prophet Muhammad ﷺ . I was a young, unmarried youth. The dogs would urinate, lick, and roam around in the mosque, but they were not sprayed with anything to prevent that.  

البيهقي:١١٥٣أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْحَسَنِ مُحَمَّدُ بْنُ مُحَمَّدِ بْنِ الْحَسَنِ ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ عَلِيِّ بْنِ زَيْدٍ الصَّائِغُ ثنا أَحْمَدُ بْنُ شَبِيبِ بْنِ سَعِيدٍ أَخْبَرَنِي أَبِي عَنْ يُونُسَ قَالَ قَالَ ابْنُ شِهَابٍ حَدَّثَنِي حَمْزَةُ بْنُ عَبْدِ اللهِ أَنَّ عَبْدَ اللهِ بْنَ عُمَرَ قَالَ

كُنْتُ أَبِيتُ فِي الْمَسْجِدِ فِي عَهْدِ رَسُولِ اللهِ ﷺ وَكُنْتُ فَتًى شَابًّا أَعْزَبَ وَكَانَتِ الْكِلَابُ تَبُولُ وَتُقْبِلُ وَتُدْبِرُ فِي الْمَسْجِدِ فَلَمْ يَكُونُوا يَرُشُّونَ شَيْئًا مِنْ ذَلِكَ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ فَقَالَ وَقَالَ أَحْمَدُ بْنُ شَبِيبٍ فَذَكَرَهُ مُخْتَصَرًا وَلَمْ يَذْكُرْ قَوْلَهُ تَبُولُ وَقَدْ أَجْمَعَ الْمُسْلِمُونَ عَلَى نَجَاسَةِ بَوْلِهَا وَوُجُوبِ الرَّشِ عَلَى بَوْلِ الْآدَمِيِّ فَكَيْفَ الْكَلْبُ فَكَأَنَّ ذَلِكَ كَانَ قَبْلَ أَمْرِهِ بِقَتْلِ الْكِلَابِ وَغَسْلِ الْإِنَاءِ مِنْ وُلُوغِهِ أَوْ كَأَنَّ عَلِمَ مَكَانَ بَوْلِهَا يَخْفَى عَلَيْهِمْ فَمَنْ عَلِمَهُ وَجَبَ عَلَيْهِ غَسْلُهُ