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:4143Abū Jaʿfar Muḥammad b. ʿAlī b. Duḥaym > Muḥammad b. al-Ḥusayn b. Abū al-Ḥusayn > Abū Ḥudhayfah > ʿIkrimah / Ibn ʿAmmār > Isḥāq b. ʿAbdullāh b. Abū Ṭalḥah > Anas b. Mālik

[Machine] The companions of the Prophet ﷺ poured water on him, so the Prophet ﷺ said, "Do not pour water on him." When he finished, the Prophet ﷺ called for him and said, "These mosques are not intended for defecation, urination, or impurity. They are only intended for reciting the Quran and remembering Allah. Then he ordered some of his companions to bring some water and pour it on him."  

البيهقي:٤١٤٣وَأنبأ أَبُو الْقَاسِمِ زَيْدُ بْنُ جَعْفَرِ بْنِ مُحَمَّدِ بْنِ عَلِيٍّ الْحُسَيْنِيُّ بِالْكُوفَةِ مِنْ أَصْلِ سَمَاعِهِ أنبأ أَبُو جَعْفَرٍ مُحَمَّدُ بْنُ عَلِيِّ بْنِ دُحَيْمٍ ثنا مُحَمَّدُ بْنُ الْحُسَيْنِ بْنِ أَبِي الْحُسَيْنِ ثنا أَبُو حُذَيْفَةَ ثنا عِكْرِمَةُ يَعْنِي ابْنَ عَمَّارٍ عَنْ إِسْحَاقَ بْنِ عَبْدِ اللهِ بْنِ أَبِي طَلْحَةَ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ جَاءَ أَعْرَابِيٌّ إِلَى الْمَسْجِدِ فَبَالَ فِي الْمَسْجِدِ فَقَالَ

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


See similar narrations below:

Collected by Bayhaqī
bayhaqi:20264ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > Tamtām > Abū Ḥudhayfah > ʿIkrimah b. ʿAmmār > Isḥāq b. ʿAbdullāh b. Abū Ṭalḥah > Anas b. Mālik

[Machine] The companions of the Prophet ﷺ saw a dog, so the Prophet ﷺ said, "Don't let it be harmed." After they finished, the Prophet ﷺ called him and said, "These mosques were not built for filth, urine, and feces, but rather for reciting the Quran and remembering Allah." Then he commanded one of his companions to fill a bucket with water and pour it over the area.  

البيهقي:٢٠٢٦٤أَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنبأ أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ثنا تَمْتَامٌ ثنا أَبُو حُذَيْفَةَ ثنا عِكْرِمَةُ بْنُ عَمَّارِ عَنْ إِسْحَاقَ بْنِ عَبْدِ اللهِ بْنِ أَبِي طَلْحَةَ عَنْ أَنَسِ بْنِ مَالِكٍ ؓ قَالَ بَالَ أَعْرَابِيٌّ فِي الْمَسْجِدِ فَقَالَ

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

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