Riyad as-SalihinChapter 17Hadith 1022
Full Sharh — Riyad as-Salihin 1022
عن ابن عمر رضي الله عنه أن النبي صلى الله عليه وسلم قال: "من أكل من هذه الشجرة -يعني الثوم- فلا يقربن مسجدنا" ((متفق عليه)). وفي رواية لمسلم: "مساجدنا".
English Translation
Ibn 'Umar (May Allah be pleased with them) said:: The Prophet (ﷺ) said, "He who has eaten garlic should not come to our mosque.".The narration in Muslim is: "He who has eaten garlic should not come to our mosques."
Source
Riyad as-Salihin(رياض الصالحين)
The Book of the Prohibited actions
Hadith Number
1022