Sahih Bukhari · Hadith 853
Call to Prayers (Adhaan) - كتاب الأذان
حدثنا مسدد، قال حدثنا يحيى، عن عبيد الله، قال حدثني نافع، عن ابن عمر رضى الله عنهما أن النبي صلى الله عليه وسلم قال في غزوة خيبر " من أكل من هذه الشجرة يعني الثوم فلا يقربن مسجدنا ".
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."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).