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