Chapter: Prohibiting one who has eaten garlic, onions, or leeks, and other things that have an offensive odor from coming to the masjid, until that smell has gone away, and such a person should be expelled from the masjid
Ibn Juraij has narrated it with the same chain of transmitters: He who eats of this plant, i. e. garlic, should not come to us in our mosque, and he made no mention of onions or leek.
Authentic