Sunan Ibn Majah, Book 27, Hadith 33 (Ibn Majah 3196)

It was narrated that Bara’ bin ‘Azib said:

“The Messenger of Allah (ﷺ) commanded us to throw away the meat of domesticated donkeys, raw or cooked, then he did not say anything to us about it after that.”