Zayd bin Khalid reported,

A man came to the Messenger of Allah ﷺ and asked him about lost property.He said, "Identify its container and its tie, then announce it for a year. If its owner comes forward, give it to him, otherwise it is yours to use as you wish."The man asked, "What about a stray sheep?"He replied, "It is for you, or for your brother, or for the wolf."The man asked, "What about a stray camel?"He answered, "What business do you have with it? It has its own water supply and its own hooves. It can reach water and feed on trees until its owner finds it."

Bukhari 2372

Sahih

حدثنا إسماعيل حدثنا مالك عن ربيعة بن أبي عبد الرحمن عن يزيد مولى المنبعث

عن زيد بن خالد الجهني رضي الله عنه قال

جاء رجل إلى رسول الله ﷺ فسأله عن اللقطة فقال اعرف عفاصها ووكاءها ثم عرفها سنة فإن جاء صاحبها وإلا فشأنك بها قال فضالة الغنم قال هي لك أو لأخيك أو للذئب قال فضالة الإبل قال ما لك ولها معها سقاؤها وحذاؤها ترد الماء وتأكل الشجر حتى يلقاها ربها

البخاري 2372صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sharecropping of orchards
Chapter
Drinking of people and animals from rivers
Numbering
Darussalam 2372
Bukhari 2372