Narrated Jabir bin `Abdullah:The Prophet (ﷺ) prohibited the eating of donkey's meat on the day of the battle of Khaibar, and allowed the eating of horse flesh
Hadith No. 5524
Sahih al Bukhari