[Al-Bukhari and Muslim].
The narration in Muslim is: "He who has eaten onion or garlic or leek should not approach our mosque, because the angels are also offended by the strong smells) that offend the children of Adam."
[Muslim].
وفي رواية لمسلم: "من أكل البصل، والثوم، الكراث، فلا يقربن مسجدنا، فإن الملائكة تتأذى مما يتأذى منه بنو آدم".
Reference | : Riyad as-Salihin 1703 |
In-book reference | : Book 17, Hadith 193 |