And the statement of the Prophet (ﷺ) is that whoever has eaten garlic or onion, whether due to hunger or for any other reason, should not come near our mosque.
Hadith Referenceصحيح البخاري / كتاب الأذان (صفة الصلوة) / 853
And the statement of the Prophet (ﷺ) is that whoever has eaten garlic or onion, whether due to hunger or for any other reason, should not come near our mosque.
Narrated `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."
Hadith Referenceصحيح البخاري / كتاب الأذان (صفة الصلوة) / 854
Hadith Gradingمحدثین:أحاديث صحيح البخاريّ كلّها صحيحة
Narrated Jabir bin `Abdullah: The Prophet said, "Whoever eats garlic or onion should keep away from our mosque or should remain in his house." (Jabir bin `Abdullah, in another narration said, "Once a big pot containing cooked vegetables was brought. On finding unpleasant smell coming from it, the Prophet asked, 'What is in it?' He was told all the names of the vegetables that were in it. The Prophet ordered that it should be brought near to some of his companions who were with him. When the Prophet saw it he disliked to eat it and said, 'Eat. (I don't eat) for I converse with those whom you don't converse with (i.e. the angels).
Hadith Referenceصحيح البخاري / كتاب الأذان (صفة الصلوة) / 855
Hadith Gradingمحدثین:أحاديث صحيح البخاريّ كلّها صحيحة
Narrated `Abdul `Aziz: A man asked Anas, "What did you hear from the Prophet about garlic?" He said, "The Prophet said, 'Whoever has eaten this plant should neither come near us nor pray with us."
Hadith Referenceصحيح البخاري / كتاب الأذان (صفة الصلوة) / 856
Hadith Gradingمحدثین:أحاديث صحيح البخاريّ كلّها صحيحة