Sahih Muslim | Book 21 | Hadith Number 4767

Narrated by Ibn 'Umar
Ibn 'Umar reported that Allah's Messenger (may peace be upon him) forbade the eating of the (flesh) of domestic asses on the Day of Khaibar in spite of the fact that people needed that.