Jabir bin 'Abdullah reported that Allah's Messenger (ﷺ) prohibited eating of the flesh of domestic asses on the Day of Khaibar, and permitted the cooking of the flesh of horses.
Hadith ReferenceSahih Muslim / The Book of Hunting, Slaughter, and what may be Eaten / Hadith: 1941