Sahih Muslim , Book 21, Hadith 4769 (USC-MSA)

Sulaiman Shaibini reported: I heard Abdullah b. Abu Aufa say: We were smitten with hunger during the nights of Khaibar. On the Day of Khaibar, we fell upon domestic asses and we slaughtered them, and when our earthen pots boiled with them, the announcer of Allah's Messenger made an annoancement that the earthen pots should be turned over, and nothing should be eaten of the flesh of the domestic asses. Some of the people said that Allah's Messenger had forbidden (the use of this flesh) for one-fifth (due to the State) has not been paid, while others said: He prohibited it for ever.

وَحَدَّثَنَا أَبُو كَامِلٍ، فُضَيْلُ بْنُ حُسَيْنٍ حَدَّثَنَا عَبْدُ الْوَاحِدِ، - يَعْنِي ابْنَ زِيَادٍ - حَدَّثَنَا سُلَيْمَانُ الشَّيْبَانِيُّ، قَالَ سَمِعْتُ عَبْدَ اللَّهِ بْنَ أَبِي أَوْفَى، يَقُولُ أَصَابَتْنَا مَجَاعَةٌ لَيَالِيَ خَيْبَرَ فَلَمَّا كَانَ يَوْمُ خَيْبَرَ وَقَعْنَا فِي الْحُمُرِ الأَهْلِيَّةِ فَانْتَحَرْنَاهَا فَلَمَّا غَلَتْ بِهَا الْقُدُورُ نَادَى مُنَادِي رَسُولِ اللَّهِ صلى الله عليه وسلم أَنِ اكْفَئُوا الْقُدُورَ وَلاَ تَأْكُلُوا مِنْ لُحُومِ الْحُمُرِ شَيْئًا - قَالَ - فَقَالَ نَاسٌ إِنَّمَا نَهَى عَنْهَا رَسُولُ اللَّهِ صلى الله عليه وسلم لأَنَّهَا لَمْ تُخَمَّسْ ‏.‏ وَقَالَ آخَرُونَ نَهَى عَنْهَا أَلْبَتَّةَ ‏.‏

sunnah.com