Once Messenger of Allah ﷺ 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."
أَخْبَرَهُ أَنَّ رَسُولَ اللَّهِ ﷺ مَرَّ بِشَاةٍ مَيِّتَةٍ فَقَالَ هَلاَّ اسْتَمْتَعْتُمْ بِإِهَابِهَا قَالُوا إِنَّهَا مَيِّتَةٌ قَالَ إِنَّمَا حَرُمَ أَكْلُهَا