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:15069ʿAbd al-Razzāq > Ibn Jurayj > Zaʿam Lī ʿAṭāʾ > Jābir b. ʿAbdullāh

[Machine] The Prophet ﷺ said, "Whoever eats this tree, meaning garlic, should not approach our mosque with its strong smell."  

أحمد:١٥٠٦٩حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا ابْنُ جُرَيْجٍ قَالَ زَعَمَ لِي عَطَاءٌ قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللهِ يَقُولُ

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


See similar narrations below:

Collected by Ibn Ḥibbān

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

ibnhibban:2089Aḥmad b. ʿAlī b. al-Muthanná > Abū Khaythamah > Ismāʿīl b. Ibrāhīm > Ibn Jarīḥ > ʿAṭāʾ > Jābir b. ʿAbdullāh

[Machine] The Messenger of Allah ﷺ said, "Whoever eats from these dates should not deceive us in our mosques."  

ابن حبّان:٢٠٨٩أَخْبَرَنَا أَحْمَدُ بْنُ عَلِيِّ بْنِ الْمُثَنَّى قَالَ حَدَّثَنَا أَبُو خَيْثَمَةَ قَالَ حَدَّثَنَا إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ قَالَ أَخْبَرَنَا ابْنُ جَرِيحٍ قَالَ أَخْبَرَنِي عَطَاءٌ أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ يَقُولُ

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