The Messenger of Allah (ﷺ) said during the battle of Khaybar: He who ate of this plant, i…

Sahih Muslim Book 5 Hadith 86

Sahih Muslim #561 a

The Book of Mosques and Places of Prayer 5:86

Ibn 'Umar reported:

The Messenger of Allah (ﷺ) said during the battle of Khaybar: He who ate of this plant, i. e. garlic, should not come to the mosques. In the narration of Zubair, there is only a mention of" battle" and not of Khaybar.

Chapter: Prohibiting one who has eaten garlic, onions, or leeks, and other things that have an offensive odor from coming to the masjid, until that smell has gone away, and such a person should be expelled from the masjid

Grade: Sahih