Riyad as-Salihin #1701 · The Book of the Prohibited actions

Riyad as-SalihinIbn Umar
Riyad as-Salihin · Book 18 · The Book of the Prohibited actions
Riyad as-Salihin · كتاب 18 · كتاب الأمور المنهي عنها
The Prophet (صلى الله عليه وسلم) said, "He who has eaten garlic should not come to our mosque." [Al-Bukhari and Muslim] . The narration in Muslim is: "He who has eaten garlic should not come to our mosques."
عن ابن عمر رضي الله عنه أن النبي صلى الله عليه وسلم قال:
"من أكل من هذه الشجرة -يعني الثوم- فلا يقربن مسجدنا" ((متفق عليه)). وفي رواية لمسلم: "مساجدنا".
Reference : Riyad as-Salihin 1701In-book reference : Book 18, Hadith 191