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."
حدثنا كثير بن هشام عن هشام عن أبي الزبير
نهى رسول الله ﷺ عن أكل البصل والكراث فغلبتنا الحاجة فأكلنا منه فقال رسول الله ﷺ من أكل من هذه الشجرة المنتنة فلا يقربن مسجدنا فإن الملائكة تتأذى مما يتأذى منه الإنس
Its isnad is sahih. Kathir is Ibn Hisham, and Hisham is Dastawai. In the manuscript it appears as Kathir bin Hisham, which is an error. See what follows it. It has previously appeared at 14715.