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." (Using translation from Bukhārī 2221)
أَخْبَرَهُ أَنَّ رَسُولَ اللهِ ﷺ مَرَّ بِشَاةٍ مَيْتَةٍ فَقَالَ هَلااسْتَمْتَعْتُمْ بِإِهَابِهَا؟ فَقَالُوا يَا رَسُولَ اللهِ إِنَّهَا مَيْتَةٌ فَقَالَ إِنَّمَا حَرُمَ أَكْلُهَا