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:20803a
Request/Fix translation

  

السيوطي:٢٠٨٠٣a

"مَن أَكَل مِن هَذِه الشَّجَرَةِ الخَبِيثَةِ فَلَا يَقْرَبَنَّ مُصَلانا حَتَّى يَذْهَبَ رِيحُها".  

[حم] أحمد [د] أبو داود [حب] ابن حبّان [ق] البيهقى في السنن عن المغيرة بن شعبة

See similar narrations below:

Collected by Muslim, Abū Dāwūd, Aḥmad, Ibn Ḥibbān, Ṭabarānī, Suyūṭī
muslim:561b[Chain 1] Abū Bakr b. Abū Shaybah > Ibn Numayr [Chain 2] Muḥammad b. ʿAbdullāh b. Numayr from my father > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

The Messenger of Allah ﷺ said: He who eats of this (offensive) plant must not approach our mosque, till its odor dies: (plant signifies) garlic.  

مسلم:٥٦١bحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا ابْنُ نُمَيْرٍ ح قَالَ وَحَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ وَاللَّفْظُ لَهُ حَدَّثَنَا أَبِي قَالَ حَدَّثَنَا عُبَيْدُ اللَّهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

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

muslim:562Zuhayr b. Ḥarb > Ismāʿīl / Ibn ʿUlayyah > ʿAbd al-ʿAzīz / Ibn Ṣuhayb > Suʾil Anas > al-Thūm

Anas was asked about the garlic; he stated that the Messenger of Allah ﷺ had said: He who eats of this plant (garlic) should not approach us and pray along with us.  

مسلم:٥٦٢وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ حَدَّثَنَا إِسْمَاعِيلُ يَعْنِي ابْنَ عُلَيَّةَ عَنْ عَبْدِ الْعَزِيزِ وَهُوَ ابْنُ صُهَيْبٍ قَالَ سُئِلَ أَنَسٌ عَنِ الثُّومِ فَقَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ فَلاَ يَقْرَبَنَّا وَلاَ يُصَلِّي مَعَنَا  

muslim:563Muḥammad b. Rāfiʿ And ʿAbd b. Ḥumayd > ʿAbd > Ibn Rāfiʿ > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > Ibn al-Musayyab > Abū Hurayrah

The Messenger of Allah ﷺ said: He who eats of this plant (garlic) should not approach our mosque and should not harm us with the odour of garlic.  

مسلم:٥٦٣وَحَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ وَعَبْدُ بْنُ حُمَيْدٍ قَالَ عَبْدٌ أَخْبَرَنَا وَقَالَ ابْنُ رَافِعٍ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنِ ابْنِ الْمُسَيَّبِ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ فَلاَ يَقْرَبَنَّ مَسْجِدَنَا وَلاَ يُؤْذِيَنَّا بِرِيحِ الثُّومِ  

abudawud:3825Aḥmad b. Ḥanbal > Yaḥyá > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

The Prophet ﷺ said: He who eats from this plant should not come near the mosques.  

أبو داود:٣٨٢٥حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ حَدَّثَنَا يَحْيَى عَنْ عُبَيْدِ اللَّهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ النَّبِيَّ ﷺ قَالَ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ فَلاَ يَقْرَبَنَّ الْمَسَاجِدَ  

ahmad:9545Yaḥyá > Muḥammad b. ʿAmr > Abū Salamah > Abū Hurayrah

[Machine] The Prophet ﷺ found the smell of garlic in the mosque and said, "Whoever has eaten from this foul tree should not come near our mosque."  

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

وَجَدَ النَّبِيُّ ﷺ رِيحَ ثُومٍ فِي الْمَسْجِدِ فَقَالَ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ الْخَبِيثَةِ فَلَا يَقْرَبَنَّ مَسْجِدَنَا  

ذِكْرُ الزَّجْرِ عَنْ أَنْ يَحْضُرَ آكِلُ الشَّجَرَةِ الْخَبِيثَةِ ثَلَاثَةَ أَيَّامٍ الْمَسَاجِدَ

ibnhibban:1643ʿAbdullāh b. Muḥammad al-Azdī > Isḥāq > Jarīr > al-Shaybānī > ʿAdī b. Thābit > Zir b. Ḥubaysh > Ḥudhayfah

Zirr ibn Hubaysh said: Hudhayfah traced, I think, to the Messenger of Allah ﷺ the saying: He who spits in the direction of the qiblah will come on the Day of Resurrection in the state that his saliva will be between his eyes; and he who eats from this noxious vegetable should not come near our mosque, saying it three times. (Using translation from Abū Dāʾūd 3824)   

ابن حبّان:١٦٤٣أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ الْأَزْدِيُّ قَالَ حَدَّثَنَا إِسْحَاقُ قَالَ حَدَّثَنَا جَرِيرٌ عَنِ الشَّيْبَانِيِّ عَنْ عَدِيِّ بْنِ ثَابِتٍ عَنْ زِرِّ بْنِ حُبَيْشٍ عَنْ حُذَيْفَةَ

عَنْ رَسُولِ اللَّهِ ﷺ قَالَ «مَنْ أَكَلَ مِنْ هَذِهِ الْبَقْلَةِ الْخَبِيثَةِ فَلَا يَقْرَبَنَّ مَسْجِدَنَا ثَلَاثًا»  

الْعَلَاءُ بْنُ خَبَّابٍ مِنْ سَاكِنِي الْكُوفَةِ

tabarani:15328Ḥafṣ b. ʿUmar al-Raqqī > Qabīṣah b. ʿUqbah > Sufyān al-Thawrī > ʿAbd al-Raḥman b. ʿĀbis > al-ʿAlāʾ b. Khabbāb

[Machine] The Messenger of Allah ﷺ said, "Whoever eats from this evil tree should stay away from our mosque." I mean garlic.  

الطبراني:١٥٣٢٨حَدَّثَنَا حَفْصُ بْنُ عُمَرَ الرَّقِّيُّ ثنا قَبِيصَةُ بْنُ عُقْبَةَ ثنا سُفْيَانُ الثَّوْرِيُّ عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَابِسٍ عَنِ الْعَلَاءِ بْنِ خَبَّابٍ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ «مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ الْخَبِيثَةِ فَلَا يَقْرَبَنَّ مَسْجِدِنَا» أَعْنِي الثَّوْمَ