Jabir b. '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 No. 5022
Sahih Muslim