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.
suyuti:21491a
Request/Fix translation

  

السيوطي:٢١٤٩١a

"مَنْ دَخَلَ في هَذَا الْمَسْجدِ فَبَزَقَ فِيهِ أَوْ تَنَخَّمَ فَليَحْفُرْ فَليدْفِنْه ، فَإِنْ لَمْ يَفعَلْ فَليَبْزُقْ في ثَوْبهِ، ثُمَّ لِيَخْرُجْ بهِ".  

[د] أبو داود [ق] البيهقى في السنن عن أَبي هريرة

See similar narrations below:

Collected by Abū Dāwūd, Aḥmad, Bayhaqī
abudawud:477al-Qaʿnabī > Abū Mawdūd > ʿAbd al-Raḥman b. Abū Ḥadrad al-Aslamī > Abū Hurayrah

The Messenger of Allah ﷺ said: if anyone enters the mosque, and spits in it, or ejects phlegm, he should remove some earth and bury it there. If he does not do so, then he should spit in his clothes and not come out with it.  

أبو داود:٤٧٧حَدَّثَنَا الْقَعْنَبِيُّ حَدَّثَنَا أَبُو مَوْدُودٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي حَدْرَدٍ الأَسْلَمِيِّ سَمِعْتُ أَبَا هُرَيْرَةَ يَقُولُ

قَالَ رَسُولُ اللَّهِ ﷺ مَنْ دَخَلَ هَذَا الْمَسْجِدَ فَبَزَقَ فِيهِ أَوْ تَنَخَّمَ فَلْيَحْفِرْ فَلْيَدْفِنْهُ فَإِنْ لَمْ يَفْعَلْ فَلْيَبْزُقْ فِي ثَوْبِهِ ثُمَّ لْيَخْرُجْ بِهِ  

ahmad:8297Abū ʿĀmir > Abū Mawdūd > ʿAbd al-Raḥman b. Abū Ḥadrad al-Aslamī > Abū Hurayrah

The Messenger of Allah ﷺ said: if anyone enters the mosque, and spits in it, or ejects phlegm, he should remove some earth and bury it there. If he does not do so, then he should spit in his clothes and not come out with it. (Using translation from Abū Dāʾūd 477)   

أحمد:٨٢٩٧حَدَّثَنَا أَبُو عَامِرٍ حَدَّثَنَا أَبُو مَوْدُودٍ حَدَّثَنِي عَبْدُ الرَّحْمَنِ بْنُ أَبِي حَدْرَدٍ الْأَسْلَمِيِّ قَالَ سَمِعْتُ أَبَا هُرَيْرَةَ يَقُولُ

قَالَ رَسُولُ اللهِ ﷺ مَنْ دَخَلَ هَذَا الْمَسْجِدَ فَبَزَقَ أَوْ تَنَخَّمَ أَوْ تَنَخَّعَ فَلْيَحْفِرْ فِيهِ وَلْيُبْعِدْ فَلْيَدْفِنْهُ فَإِنْ لَمْ يَفْعَلْ فَفِي ثَوْبِهِ ثُمَّ لِيَخْرُجْ بِهِ  

bayhaqi:3591Abū ʿAlī al-Rūdhbārī > Muḥammad b. Bakr > Abū Dāwud > al-Qaʿnabī > Abū Mawdūd > ʿAbd al-Raḥman b. Abū Ḥadrad al-Aslamī > Abū Hurayrah

The Messenger of Allah ﷺ said: if anyone enters the mosque, and spits in it, or ejects phlegm, he should remove some earth and bury it there. If he does not do so, then he should spit in his clothes and not come out with it. (Using translation from Abū Dāʾūd 477)   

البيهقي:٣٥٩١أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ مُحَمَّدُ بْنُ بَكْرٍ ثنا أَبُو دَاوُدَ قَالَ أنبأ الْقَعْنَبِيُّ ثنا أَبُو مَوْدُودٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي حَدْرَدٍ الْأَسْلَمِيِّ قَالَ سَمِعْتُ أَبَا هُرَيْرَةَ ؓ يَقُولُ

قَالَ رَسُولُ اللهِ ﷺ مَنْ دَخَلَ الْمَسْجِدَ فَبَزَقَ فِيهِ أَوْ تَنَخَّمَ فَلْيَحْفِرْ فَلْيَدْفِنْهُ فَإِنْ لَمْ يَفْعَلْ فَلْيَبْزُقْ فِي ثَوْبِهِ ثُمَّ لِيَخْرُجْ بِهِ