From Sahih Bukhari (Hadith 5531):
Narrated `Abdullah bin `Abbas:Once Allah's Messenger (ﷺ) passed by a dead sheep and said (to the people), "Why don't you use its hide?" They said, "But it is dead," He said, "Only eating it, is prohibited
Reference: Bukhari 5531