ENOfficial
Narrated ash-Sha'bi: The Prophet (ﷺ) said: If anyone leaves an animal at a place of perishing and another man brings it to life, it belongs to him who brings it to life.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا مُحَمَّدُ بْنُ عُبَيْدٍ، عَنْ حَمَّادٍ، - يَعْنِي ابْنَ زَيْدٍ - عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ عُبَيْدِ اللَّهِ بْنِ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ، عَنِ الشَّعْبِيِّ، يَرْفَعُ الْحَدِيثَ إِلَى النَّبِيِّ صلى الله عليه وسلم أَنَّهُ قَالَ " مَنْ تَرَكَ دَابَّةً بِمُهْلِكٍ فَأَحْيَاهَا رَجُلٌ فَهِيَ لِمَنْ أَحْيَاهَا " .
sunnah.com