Jarir bin Hazim said: I heard Qays narrate from Yazid bin Hurmuz, from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both), that he said: "As for what you asked about when an orphan's orphanhood ends: when he reaches puberty and sound judgement is perceived in him, his orphanhood has ended, so hand his property over to him."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحجر / 11296