Sahih al-Bukhari, Book 72, Hadith 50 (Bukhari 5312)

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.