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.
أَمَرَنَا النَّبِيُّ ﷺ فِي غَزْوَةِ خَيْبَرَ أَنْ نُلْقِيَ الْحُمُرَ الأَهْلِيَّةَ نِيئَةً وَنَضِيجَةً ثُمَّ لَمْ يَأْمُرْنَا بِأَكْلِهِ بَعْدُ