The Prophet (ﷺ) made the meat of donkeys unlawful on the day of the battle of Khaibar.

Sahih al-Bukhari Book 72, Hadith 47