It wasnarrated that Bara' bin 'Azib said:
"The Messenger of Allah(ﷺ) commanded us to throw away the meat of domesticated donkeys,rawor cooked, then he did not say anything to us about it afterthat." (PT)
English reference (PT): Vol. 4, Book 27, Hadith 3194 (PT)
Arabic reference (PT): Book 27, Hadith 3315 (PT)