The Prophet (ﷺ) said: If anyone finds an animal whose owners were helpless to provide fodder to it and so they turned it out (of their house), and he took it and looked after it, it will belong to him.
Abu Dawud said: This is the tradition of Hammad. It is more plain and perfect.
Reference: Sunan Abi Dawud 3524 In-book : Book 24, Hadith 109 English translation : Book 23, Hadith 3517
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.