The Prophet (ﷺ) said, "Whoever has eaten garlic or onion should keep away from us (or…

Sahih al-Bukhari Book 70 Hadith 81

Sahih al-Bukhari #5452

Food, Meals 70:81

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) said, "Whoever has eaten garlic or onion should keep away from us (or should keep away from our mosque).'

Chapter: The eating of garlic or other (bad smelling vegetables).

Grade: Sahih