Volume 5 · Book 59 · Hadith 526
Narrated Ibn Umar: On the day of Khaiber, Allah's Apostle forbade the eating of garlic and the meat of donkeys.
— Sahih Bukhari, Volume 5, Book 59: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi), Hadith #526