كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(38)
Chapter: Ghazwa of Khaibar
(38)
باب غَزْوَةُ خَيْبَرَ
Sahih al-Bukhari 4220

Narrated Ibn Abi `Aufa:

We where afflicted with severe hunger on the day of Khaibar. While the cooking pots were boiling and some of the food was well-cooked, the announcer of the Prophet (ﷺ) came to say, "Do not eat anything the donkey-meat and upset the cooking pots." We then thought that the Prophet (ﷺ) had prohibited such food because the Khumus had not been taken out of it. Some others said, "He prohibited the meat of donkeys from the point of view of principle, because donkeys used to eat dirty things."

حَدَّثَنَا سَعِيدُ بْنُ سُلَيْمَانَ، حَدَّثَنَا عَبَّادٌ، عَنِ الشَّيْبَانِيِّ، قَالَ سَمِعْتُ ابْنَ أَبِي أَوْفَى ـ رضى الله عنهما ـ أَصَابَتْنَا مَجَاعَةٌ يَوْمَ خَيْبَرَ، فَإِنَّ الْقُدُورَ لَتَغْلِي ـ قَالَ وَبَعْضُهَا نَضِجَتْ ـ فَجَاءَ مُنَادِي النَّبِيِّ صلى الله عليه وسلم لاَ تَأْكُلُوا مِنْ لُحُومِ الْحُمُرِ شَيْئًا وَأَهْرِيقُوهَا‏.‏ قَالَ ابْنُ أَبِي أَوْفَى فَتَحَدَّثْنَا أَنَّهُ إِنَّمَا نَهَى عَنْهَا لأَنَّهَا لَمْ تُخَمَّسْ‏.‏ وَقَالَ بَعْضُهُمْ نَهَى عَنْهَا الْبَتَّةَ، لأَنَّهَا كَانَتْ تَأْكُلُ الْعَذِرَةَ‏.‏
Reference : Sahih al-Bukhari 4220
In-book reference : Book 64, Hadith 260
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 531
  (deprecated numbering scheme)