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.
ibnmajah:1015Abū Marwān al-ʿUthmānī > Ibrāhīm b. Saʿd > Ibn Shihāb > Saʿīd b. al-Musayyab > Abū Hurayrah

“The Messenger of Allah ﷺ said: ‘Whoever eats from this plant; garlic, let him not annoy us with it in this mosque of ours.’”  

ابن ماجة:١٠١٥حَدَّثَنَا أَبُو مَرْوَانَ الْعُثْمَانِيُّ حَدَّثَنَا إِبْرَاهِيمُ بْنُ سَعْدٍ عَنِ ابْنِ شِهَابٍ عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ

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


See similar narrations below:

Collected by Aḥmad
ahmad:7583Abū Kāmil > Ibrāhīm > Ibn Shihāb And Yaʿqūb from my father > Ibn Shihāb > Saʿīd b. al-Musayyib > Abū Hurayrah

[Machine] He informed him that the Messenger of Allah ﷺ said, "Whoever eats from this tree, let him not harm us with it in our mosque." Ya'qub (meaning garlic) said.  

أحمد:٧٥٨٣حَدَّثَنَا أَبُو كَامِلٍ حَدَّثَنَا إِبْرَاهِيمُ حَدَّثَنَا ابْنُ شِهَابٍ وَيَعْقُوبُ حَدَّثَنَا أَبِي عَنْ ابْنِ شِهَابٍ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ أَنَّ أَبَا هُرَيْرَةَ

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