(17) باب نَهْىِ مَنْ أَكَلَ ثُومًا أَوْ بَصَلاً أَوْ كُرَّاثًا أَوْ نَحْوَهَا عَنْ حُضُورِ الْمَسْجِدِ
Ibn Suhaib reported:
Anas was asked about the garlic; he stated that the Messenger of Allah (ﷺ) had said: He who eats of this plant (garlic) should not approach us and pray along with us. (ES)
Reference (ES): Sahih Muslim 562 a (ES)
In-book reference (ES): Book 5, Hadith 88 (ES)
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1143 (ES)