Arabic Text
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا عَبْدُ الْوَارِثِ، عَنْ عَبْدِ الْعَزِيزِ، قَالَ قِيلَ لأَنَسٍ مَا سَمِعْتَ النَّبِيَّ صلى الله عليه وسلم فِي الثُّومِ فَقَالَ " مَنْ أَكَلَ فَلاَ يَقْرَبَنَّ مَسْجِدَنَا ".
English Translation
Narrated 'Abdul 'Aziz: It was said to Anas "What did you hear the Prophet saying about garlic?" Anas replied, "Whoever has eaten (garlic) should not approach our mosque."
This hadith is from Sahih al-Bukhari, the most rigorously authenticated collection in Islamic scholarship. No editorial opinion is added.