Imam al-Shafi'i (may Allah have mercy on him) said: "Then it (the item) belongs to the one in whose possession it is, with his oath, when no proof (testimony) is established in favour of either of the two."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الدعوى والبينات / Q21210