Hadith 245

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 854
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ، قَالَ حَدَّثَنَا أَبُو عَاصِمٍ، قَالَ أَخْبَرَنَا ابْنُ جُرَيْجٍ، قَالَ أَخْبَرَنِي عَطَاءٌ، قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏ ‏‏.‏ قُلْتُ مَا يَعْنِي بِهِ قَالَ مَا أُرَاهُ يَعْنِي إِلاَّ نِيئَهُ‏.‏ وَقَالَ مَخْلَدُ بْنُ يَزِيدَ عَنِ ابْنِ جُرَيْجٍ إِلاَّ نَتْنَهُ‏.‏
"‏ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ ـ يُرِيدُ الثُّومَ ـ فَلاَ يَغْشَانَا فِي مَسَاجِدِنَا ‏"
`Ata':

I heard Jabir bin `Abdullah saying, "The Prophet (ﷺ) said, 'Whoever eats (from) this plant (he meant garlic) should keep away from our mosque." I said, "What does he mean by that?" He replied, "I think he means only raw garlic."