It was narrated that Jabir said: “The Messenger of Allah صلی اللہ علیہ وآلہ وسلم said: ‘Whoever eats of this plant’ — the first time he said ‘garlic’ then he said, ‘garlic, onions and leeks’ — ‘let him not approach us in our Masjids, for the angels are offended by that which offends mankind.” (Sahih)