During the Ghazwa of Khaibar, the Prophet (ﷺ) ordered us to throw away the meat of the donkeys whether it was still raw or cooked. He did not allow us to eat it later on.
Sahih al-Bukhari Book 64, Hadith 264