Sahih al-Bukhari
Sahih al-Bukhari 5451
Arabic hadith text
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا عَبْدُ الْوَارِثِ، عَنْ عَبْدِ الْعَزِيزِ، قَالَ قِيلَ لأَنَسٍ مَا سَمِعْتَ النَّبِيَّ صلى الله عليه وسلم فِي الثُّومِ فَقَالَ " مَنْ أَكَلَ فَلاَ يَقْرَبَنَّ مَسْجِدَنَا ".
Translation
Musaddad narrated to us: ʿAbd al-Warith narrated to us, from ʿAbd al-ʿAziz, who said: Anas was asked, “What have you heard the Prophet, peace and blessings be upon him, say about garlic?” He replied, “Whoever eats it must not come near our mosque.”