Sahih al-Bukhari 2221
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا يَعْقُوبُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا أَبِي، عَنْ صَالِحٍ، قَالَ حَدَّثَنِي ابْنُ شِهَابٍ، أَنَّ عُبَيْدَ اللَّهِ بْنَ عَبْدِ اللَّهِ، أَخْبَرَهُ أَنَّ عَبْدَ اللَّهِ بْنَ عَبَّاسٍ ـ رضى الله عنهما ـ أَخْبَرَهُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم مَرَّ بِشَاةٍ مَيِّتَةٍ فَقَالَ هَلاَّ اسْتَمْتَعْتُمْ بِإِهَابِهَا ". قَالُوا إِنَّهَا مَيِّتَةٌ. قَالَ " إِنَّمَا حَرُمَ أَكْلُهَا "."
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."
Full reference and source
Sahih al-Bukhari 2221 In-book : Book 34, Hadith 168 USC-MSA web (English) : Vol. 3, Book 34, Hadith 424 (deprecated)
View source on Sunnah.com (opens in a new tab)