Hadithcore
Bulugh al-Maram, 20

Narrated Maimuma:

Narrated (rad): Some people dragging a (dead) goat passed by the Prophet (ﷺ). He told them, “Had you better taken its skin”. They said, “It is dead”. He said, “Water and the leaves of the Acacia tree will purify it”. [Reported by Abu Da’ud and An’Nasa’i].

وَعَنْ مَيْمُونَةَ رَضِيَ الْلَّهُ عَنْهَا، قَالَتْ: { مَرَّ رَسُولُ الْلَّهِ ‏- صلى الله عليه وسلم ‏-بِشَاةٍ يَجُرُّونَهَا، فَقَالَ: "لَوْ أَخَذْتُمْ إِهَابَهَا؟" فَقَالُوا: إِنَّهَا مَيْتَةٌ، فَقَالَ: "يُطَهِّرُهَا الْمَاءُ وَالْقَرَظُ" } أَخْرَجَهُ أَبُو دَاوُدَ، وَالنَّسَائِيُّ [1]‏ .‏

References2 variants
In-Book Reference
Book 1, Hadith 24
English Reference
Book 1, Hadith 23