BAYHAQI 64:
from Ibn ʿAbbās —
[Machine] The Prophet ﷺ passed by a dead sheep and said, "Why didn't you benefit from its hide?" They replied, "O Messenger of Allah, it is dead." He said, "Its meat is only prohibited due to the contamination of an (animal) that urinates or (an animal) that drinks dirty water."
البيهقي ٦٤:
عن ابن عباس —
أَنَّ النَّبِيَّ ﷺ مَرَّ بِشَاةٍ مَيِّتَةٍ فَقَالَ هَلَّا انْتَفَعْتُمْ بِإِهَابِهَا فَقَالُوا يَا رَسُولَ اللهِ إِنَّهَا مَيْتَةٌ؟ فَقَالَ إِنَّمَا حُرِّمَ أَكْلُهَا زَادَ عَقِيلٌ أَوَلَيْسَ فِي الْمَاءِ وَالْقَرَظِ مَا يُطَهِّرُهَا
hadithunlocked.com