كتاب الصيد والذبائح وما يؤكل من الحيوان
34  
The Book of Hunting, Slaughter, and what may be Eaten
(5)
Chapter: The prohibition of eating the meat of domesticated donkeys
(5)
باب تَحْرِيمِ أَكْلِ لَحْمِ الْحُمُرِ الإِنْسِيَّةِ ‏‏
Sahih Muslim 1938 a

'Adi (he was the son of Thabit) said:

I heard al-Bara' and 'Abdullah b. Abu Aufa say: We found domestic asses and we cooked them. Then the announcer of Allah's Messenger (ﷺ) made an announcement that the earthen pots should be turned over.
حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا شُعْبَةُ، عَنْ عَدِيٍّ، - وَهُوَ ابْنُ ثَابِتٍ - قَالَ سَمِعْتُ الْبَرَاءَ، وَعَبْدَ اللَّهِ بْنَ أَبِي أَوْفَى، يَقُولاَنِ أَصَبْنَا حُمُرًا فَطَبَخْنَاهَا فَنَادَى مُنَادِي رَسُولِ اللَّهِ صلى الله عليه وسلم اكْفَئُوا الْقُدُورَ ‏.‏
Reference : Sahih Muslim 1938a
In-book reference : Book 34, Hadith 41
USC-MSA web (English) reference : Book 21, Hadith 4770
  (deprecated numbering scheme)