Sahih al-Bukhari, Book 64, Hadith 259 (Bukhari 4043)

Narrated Jabir bin `Abdullah:

On the day of Khaibar, Allah's Messenger (ﷺ) forbade the eating of donkey meat and allowed the eating of horse meat.