Bara bin Azib reported,

The Messenger of Allah ﷺ commanded us to discard the meat of domestic donkeys, both raw and cooked, and he never afterward permitted us to eat it.

Muslim 5015

Sahih

و حدثنا زهير بن حرب حدثنا جرير عن عاصم عن الشعبي

عن البراء بن عازب قال

أمرنا رسول الله ﷺ أن نلقي لحوم الحمر الأهلية نيئة ونضيجة ثم لم يأمرنا بأكله

مسلم 5015صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hunting, slaughtering, and what may be eaten of animals
Chapter
Prohibition of eating the meat of domestic donkeys
Numbering
Darussalam 5015
Muslim 5015