The Messenger of Allah ﷺ was asked about lost property. He said, "Announce it for a year. If its owner comes seeking it, hand it over to him. Otherwise, take note of its container and its tie, then use it. If its owner comes seeking it afterward, hand it over to him."
حدثنا محمد بن رافع وهارون بن عبد الله المعنى قالا حدثنا ابن أبي فديك عن الضحاك يعني ابن عثمان عن سالم أبي النضر عن بسر بن سعيد
أن رسول الله ﷺ سئل عن اللقطة فقال عرفها سنة فإن جاء باغيها فأدها إليه وإلا فاعرف عفاصها ووكاءها ثم كلها فإن جاء باغيها فأدها إليه
[Muslim, Luqatah, chapter on identifying the container and tying string, and the ruling on lost sheep and camels, 7/1722, from the hadith of Dahhak bin Uthman, through him].