Volume 5 · Book 59 · Hadith 530
Narrated Jabir bin Abdullah: On the day of Khaibar, Allah's Apostle forbade the eating of donkey meat and allowed the eating of horse meat.
— Sahih Bukhari, Volume 5, Book 59: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi), Hadith #530