On the day of Khaibar, Allah's Messenger (ﷺ) forbade the eating of donkey meat.
Sahih al-Bukhari Book 64, Hadith 257