The Messenger of Allah (SWAS) was asked about a find. He replied : Make the matter known for a year; if its owner comes, give it to him, otherwise note its string and its container and have it along with your property. If its owner comes, deliver it to him. (Using translation from Abū Dāʾūd 1707)
أَنَّهُ قَالَ سُئِلَ رَسُولُ اللهِ ﷺ عَنِ الشَّاةِ الضَّالَّةِ وَسُئِلَ عَنِ اللُّقَطَةِ فَقَالَ تُعَرِّفُهَا حَوْلًا فَإِنْ جَاءَ صَاحِبُهَا دَفَعْتَهَا إِلَيْهِ وَإِلَّا عَرَفَتْ وِكَاءَهَا أَوْ قَالَ عِفَاصَهَا ثُمَّ أفضها فِي مَالِكَ فَإِنْ جَاءَ صَاحِبُهَا دَفَعْتَهَا إِلَيْهِ