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." (JA)
English reference (JA): Vol. 4, Book 27, Hadith 3194 (JA)
Arabic reference (JA): Book 27, Hadith 3315 (JA)