During the holy battle of Khaibar the Prophet (ﷺ) said, "Whoever ate from this plant (i.e…

Sahih al-Bukhari Book 10 Hadith 244

Sahih al-Bukhari #853

Call to Prayers (Adhaan) 10:244

Narrated Ibn `Umar:

During the holy battle of Khaibar the Prophet (ﷺ) said, "Whoever ate from this plant (i.e. garlic) should not enter our mosque."

Chapter: What has been said about uncooked garlic, onion and leek.

Grade: Sahih