Hadith 246

Sahih Bukhari

Book 10: Call to Prayers (Adhaan)

Chapter 160

What has been said about uncooked garlic, onion and leek.

باب مَا جَاءَ فِي الثُّومِ النَّىِّ وَالْبَصَلِ وَالْكُرَّاثِ

And the statement of the Prophet ﷺ "Whoever has eaten garlic or onion because of hunger or otherwise should not come near our mosque." ​​
وَقَوْلِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ أَكَلَ الثُّومَ أَوِ الْبَصَلَ مِنَ الْجُوعِ أَوْ غَيْرِهِ فَلاَ يَقْرَبَنَّ مَسْجِدَنَا».
Sahih al-Bukhari 855
حَدَّثَنَا سَعِيدُ بْنُ عُفَيْرٍ، قَالَ حَدَّثَنَا ابْنُ وَهْبٍ، عَنْ يُونُسَ، عَنِ ابْنِ شِهَابٍ، زَعَمَ عَطَاءٌ أَنَّ جَابِرَ بْنَ عَبْدِ اللَّهِ، زَعَمَ أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏"‏ مَنْ أَكَلَ ثُومًا أَوْ بَصَلاً فَلْيَعْتَزِلْنَا ـ أَوْ قَالَ ـ فَلْيَعْتَزِلْ مَسْجِدَنَا، وَلْيَقْعُدْ فِي بَيْتِهِ ‏"‏‏.‏ وَأَنَّ النَّبِيَّ صلى الله عليه وسلم أُتِيَ بِقِدْرٍ فِيهِ خَضِرَاتٌ مِنْ بُقُولٍ، فَوَجَدَ لَهَا رِيحًا فَسَأَلَ فَأُخْبِرَ بِمَا فِيهَا مِنَ الْبُقُولِ فَقَالَ ‏"‏ قَرِّبُوهَا ‏"‏ إِلَى بَعْضِ أَصْحَابِهِ كَانَ مَعَهُ، فَلَمَّا رَآهُ كَرِهَ أَكْلَهَا قَالَ ‏"‏ كُلْ فَإِنِّي أُنَاجِي مَنْ لاَ تُنَاجِي ‏"‏‏.‏ وَقَالَ أَحْمَدُ بْنُ صَالِحٍ عَنِ ابْنِ وَهْبٍ أُتِيَ بِبَدْرٍ‏.‏ قَالَ ابْنُ وَهْبٍ يَعْنِي طَبَقًا فِيهِ خُضَرَاتٌ‏.‏ وَلَمْ يَذْكُرِ اللَّيْثُ وَأَبُو صَفْوَانَ عَنْ يُونُسَ قِصَّةَ الْقِدْرِ، فَلاَ أَدْرِي هُوَ مِنْ قَوْلِ الزُّهْرِيِّ أَوْ فِي الْحَدِيثِ‏.‏
Jabir bin `Abdullah:

The Prophet (ﷺ) said, "Whoever eats garlic or onion should keep away from our mosque or should remain in his house." (Jabir bin `Abdullah, in another narration said, "Once a big pot containing cooked vegetables was brought. On finding unpleasant smell coming from it, the Prophet (ﷺ) asked, 'What is in it?' He was told all the names of the vegetables that were in it. The Prophet (ﷺ) ordered that it should be brought near to some of his companions who were with him. When the Prophet (ﷺ) saw it he disliked to eat it and said, 'Eat. (I don't eat) for I converse with those whom you don't converse with (i.e. the angels).