Abu Ishaq reported,

I asked Abdullah bin Abu Awfa about the meat of domestic donkeys.He said, "Famine struck us on the day of Khaybar while we were with the Prophet ﷺ. The people had captured some donkeys outside Madinah, so we slaughtered them, and our pots were boiling when the Prophet's ﷺ caller announced, 'Turn the pots upside down and do not eat anything from the meat of donkeys.' So we turned them over."I asked Abdullah bin Abu Awfa, "Did he forbid them absolutely?"He replied, "We discussed among ourselves that the Messenger of Allah ﷺ forbade them outright because they feed on filth."

Ibn Majah 3192

Sahih

حدثنا سويد بن سعيد حدثنا علي بن مسهر

عن أبي إسحق الشيباني قال

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

ابن ماجه 3192صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Slaughter
Chapter
Wild donkey meat
Numbering
Darussalam 3192
Ibn Majah 3192