(160) باب مَا جَاءَ فِي الثُّومِ النَّىِّ وَالْبَصَلِ وَالْكُرَّاثِ
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."
Reference: Sahih al-Bukhari 853
In-book reference: Book 10, Hadith 244
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 12, Hadith 812