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.
ahmad:7610ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > Ibn al-Musayyab > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said: "Whoever eats from this tree, meaning garlic, should not come near our mosque and should not harm us with the smell of garlic."  

أحمد:٧٦١٠حَدَّثَنَا عَبْدُ الرَّزَّاقِ حَدَّثَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنِ ابْنِ الْمُسَيَّبِ عَنْ أَبِي هُرَيْرَةَ قَالَ

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


See similar narrations below:

Collected by Bukhārī, Muslim, Mālik, Aḥmad, Bayhaqī, Suyūṭī
bukhari:853Musaddad > Yaḥyá > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

During the holy battle of Khaibar the Prophet ﷺ said, "Whoever ate from this plant (i.e. garlic) should not enter our mosque."  

البخاري:٨٥٣حَدَّثَنَا مُسَدَّدٌ قَالَ حَدَّثَنَا يَحْيَى عَنْ عُبَيْدِ اللَّهِ قَالَ حَدَّثَنِي نَافِعٌ عَنِ ابْنِ عُمَرَ ؓ

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

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.  

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

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

malik:1-30Yaḥyá > Mālik > Ibn Shihāb > Saʿīd b. al-Musayyab

Yahya related to me from Malik from Ibn Shihab from Said ibn al- Musayyab that the Messenger of Allah ﷺ said, "Anyone who eats this plant should not come near our mosques. The smell of the garlic will offend us."  

مالك:١-٣٠حَدَّثَنِي يَحْيَى عَنْ مَالِكٍ عَنِ ابْنِ شِهَابٍ عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ

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

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."  

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

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

bayhaqi:5052Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq > Aḥmad b. Salamah > Isḥāq And Muḥammad b. Rāfiʿ And Muḥammad b. Yaḥyá Wahadhā Ḥadīthuh > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > Ibn al-Musayyib > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said, "Whoever eats from this tree, meaning garlic, let him not approach our mosque, and in the narration of Ibn Rafi', let him not come near our mosque, and let him not give adhan with the smell of garlic."  

البيهقي:٥٠٥٢أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو بَكْرِ بْنُ إِسْحَاقَ ثنا أَحْمَدُ بْنُ سَلَمَةَ ثنا إِسْحَاقُ وَمُحَمَّدُ بْنُ رَافِعٍ وَمُحَمَّدُ بْنُ يَحْيَى وَهَذَا حَدِيثُهُ قَالُوا ثنا عَبْدُ الرَّزَّاقِ عَنْ مَعْمَرٍ عَنِ الزُّهْرِيِّ عَنِ ابْنِ الْمُسَيِّبِ عَنْ أَبِي هُرَيْرَةَ قَالَ

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

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ مُحَمَّدِ بْنِ رَافِعٍ