Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)

Bukhari :: Book 5 :: Volume 59 :: Hadith 526

Narrated Ibn Umar:

On the day of Khaiber, Allah's Apostle forbade the eating of garlic and the meat of donkeys.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star