(17) باب نَهْىِ مَنْ أَكَلَ ثُومًا أَوْ بَصَلاً أَوْ كُرَّاثًا أَوْ نَحْوَهَا عَنْ حُضُورِ الْمَسْجِدِ
Ibn 'Umar reported:
The Messenger of Allah (ﷺ) said: He who eats of this (offensive) plant must not approach our mosque, till its odor dies: (plant signifies) garlic. (RU)
Reference (RU): Sahih Muslim 561 b (RU)
In-book reference (RU): Book 5, Hadith 87 (RU)
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1142 (RU)