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.
tabarani:8092Muḥammad b. Qaḍāʾ al-Jawharī al-Baṣrī > Muḥammad b. ʿAlī b. al-Ḥasan b. Shaqīq from my father > al-Ḥusayn b. Wāqid > Abū Ghālib > Abū Umāmah

[Machine] The Messenger of Allah ﷺ said, "Whoever takes a dump in the mosque and does not bury it, it is a bad deed. But if he buries it, it is a good deed."  

الطبراني:٨٠٩٢حَدَّثَنَا مُحَمَّدُ بْنُ قَضَاءٍ الْجَوْهَرِيُّ الْبَصْرِيُّ ثنا مُحَمَّدُ بْنُ عَلِيِّ بْنِ الْحَسَنِ بْنِ شَقِيقٍ قَالَ سَمِعْتُ أَبِي أنا الْحُسَيْنُ بْنُ وَاقِدٍ عَنْ أَبِي غَالِبٍ عَنْ أَبِي أُمَامَةَ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ «مَنْ تَنَخَّعَ فِي الْمَسْجِدِ فَلَمْ يَدْفِنْهُ فَسَيِّئَةٌ وَإِنْ دَفَنَهُ حَسَنَةٌ»  


See similar narrations below:

Collected by Aḥmad, Suyūṭī
ahmad:22243Zayd b. al-Ḥubāb > Ḥusayn b. Wāqid > Abū Ghālib > Abū Umāmah

[Machine] The Messenger of Allah ﷺ said, "Spitting in the mosque is a bad deed, while burying it is a good deed."  

أحمد:٢٢٢٤٣حَدَّثَنَا زَيْدُ بْنُ الْحُبَابِ أَخْبَرَنَا حُسَيْنُ بْنُ وَاقِدٍ حَدَّثَنِي أَبُو غَالِبٍ أَنَّهُ سَمِعَ أَبَا أُمَامَةَ يَقُولُ

قَالَ رَسُولُ اللهِ ﷺ التَّفْلُ فِي الْمَسْجِدِ سَيِّئَةٌ وَدَفْنُهُ حَسَنَةٌ  

suyuti:21163a
Request/Fix translation

  

السيوطي:٢١١٦٣a

"مَنْ تَنَخَّع في الْمَسْجِد فَلَمْ يَذفنْهُ فَسَيِّئَةٌ، وَإِنْ دَفَنَهُ فَحَسَنَةٌ".  

[ع] أبو يعلى [طب] الطبرانى في الكبير وابن النجار، [ض] ضياء المقدسي في مختاره عن أَبي أُمامة