The Prophet ﷺ passed by a dead sheep that had been thrown aside and asked, "Whose is this?"They said, "It belongs to Maymunah."He said, "What harm would it do her to make use of its hide?"They replied, "But it is dead carrion."He said, "Allah has only forbidden eating it."
أخبرنا قتيبة قال حدثنا سفيان عن الزهري عن عبيد الله بن عبد الله عن ابن عباس
أن النبي ﷺ مر على شاة ميتة ملقاة فقال لمن هذه فقالوا لميمونة فقال ما عليها لو انتفعت بإهابها قالوا إنها ميتة فقال إنما حرم الله عز وجل أكلها
Muslim reported it in the chapter on Menstruation, section on the purification of the skins of dead animals through tanning, hadith no. 363, from the hadith of Sufyan Ibn Uyayna, with this wording. It is also in Al-Kubra, hadith no. 4560. See the following hadith.