Sahih Muslim #1938 d
The Book of Hunting, Slaughter, and what may be Eaten 34:44
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.