The Book of Hunting, Slaughter, and what may be Eaten
وَحَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا جَرِيرٌ، عَنْ عَاصِمٍ، عَنِ الشَّعْبِيِّ، عَنِ الْبَرَاءِ بْنِ عَازِبٍ، قَالَ أَمَرَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ نُلْقِيَ لُحُومَ الْحُمُرِ الأَهْلِيَّةِ نِيئَةً وَنَضِيجَةً ثُمَّ لَمْ يَأْمُرْنَا بِأَكْلِهِ .Bara' b. 'Azib reported:Allah's Messenger (ﷺ) commanded us to throw away the flesh of domestic asses whether uncooked or cooked; he then never commanded us to eat that
From Sahih Muslim, whose reports the scholars accept as authentic.