(17) باب نَهْىِ مَنْ أَكَلَ ثُومًا أَوْ بَصَلاً أَوْ كُرَّاثًا أَوْ نَحْوَهَا عَنْ حُضُورِ الْمَسْجِدِ
This hadith has been narrated by Qatada with the same chain of transmitters.
Reference: Sahih Muslim 567 b
In-book reference: Book 5, Hadith 97
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1152
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.