It is narrated from Sayyiduna Zayd bin Khalid al-Juhani (may Allah be pleased with him) that a man came to the Messenger of Allah (peace and blessings be upon him) and asked about a found item (luqatah). He (peace and blessings be upon him) said: "Recognise its container and its tie well, then announce it for a year. If its owner comes, give it to him; otherwise it is yours." He asked: "What is the ruling on a stray sheep?" He (peace and blessings be upon him) said: "It is for you, or for your brother, or for the wolf." He asked about a stray camel, and he (peace and blessings be upon him) said: "What have you to do with it? It has its water supply and its hooves with it; it can go down to water and eat the leaves of trees until its owner finds it."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب اللقطة / 12050