(160) باب مَا جَاءَ فِي الثُّومِ النَّىِّ وَالْبَصَلِ وَالْكُرَّاثِ
Narrated `Abdul `Aziz:
A man asked Anas, "What did you hear from the Prophet (ﷺ) about garlic?" He said, "The Prophet (ﷺ) said, 'Whoever has eaten this plant should neither come near us nor pray with us."
Reference: Sahih al-Bukhari 856
In-book reference: Book 10, Hadith 247
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 12, Hadith 815