Abdullah bin Umar reported,

The Prophet ﷺ said during the expedition of Khaybar, "Whoever has eaten from this plant," meaning garlic, "must not come near our mosque."

Bukhari 853

Sahih

حدثنا مسدد قال حدثنا يحيى عن عبيد الله قال حدثني نافع

عن ابن عمر رضي الله عنهما

أن النبي ﷺ قال في غزوة خيبر من أكل من هذه الشجرة يعني الثوم فلا يقربن مسجدنا

البخاري 853صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhan
Chapter
Raw garlic, onions, and leeks
Numbering
Darussalam 853
Bukhari 853