Narrated `Abdullah bin `Abbas:Once Allah's Messenger (ﷺ) passed by a dead sheep and said to the people, "Wouldn't you benefit by its skin?" The people replied that it was dead. The Prophet (ﷺ) said, "But its eating only is illegal
Hadith No. 2221
Sahih al Bukhari