Jabir bin Abdullah reported,

The Messenger of Allah ﷺ forbade eating onions and leeks, but need overcame us, so we ate from them. The Messenger of Allah ﷺ said, "Whoever eats from this foul-smelling plant should not come near our mosque, for the angels are offended by what offends humans."

Ahmad 15014

Sahih

حدثنا كثير بن هشام عن هشام عن أبي الزبير

عن جابر رضي الله عنه قال

نهى رسول الله ﷺ عن أكل البصل والكراث فغلبتنا الحاجة فأكلنا منه فقال رسول الله ﷺ من أكل من هذه الشجرة المنتنة فلا يقربن مسجدنا فإن الملائكة تتأذى مما يتأذى منه الإنس

أحمد 15014صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Jabir bin Abdullah
Numbering
Darussalam 15014
Ahmad 15014