According to Tafsir Al-Jalalayn of verse 4.6:
Try test well the orphans before reaching maturity with regard the duties of religion and before they can legally manage their own affairs until they reach the age of marrying that is until they have become eligible for it through puberty or legal age which according to al-Shāfi‘ī is the completion of fifteen years; then if you perceive in them maturity that is right judgement in matters of religion and their property deliver their property to them; consume it not O guardians wastefully without due merit and in haste that is hastening to expend it fearing lest they should grow up and become mature at which time you will be obliged to hand it over to them.
If any man who is a guardian is rich let him be abstinent that is let him abstain from the orphan’s property and refrain from consuming it; if he is poor let him consume of it honourably that is in line with the wage for his work. And when you deliver to them the orphans their property take witnesses over them that they have received it and that you are absolved of the obligation so that if any dispute occurs you are able to refer to a clear proof this is a command intended for guidance. God suffices as a reckoner as a guardian of His creatures’ deeds and as a reckoner of these deeds the bā’ in bi’Llāhi is extra.
I Googled to find if it is the official position of Shafi fiqh but didn't find any authoritative reference. Is it the official opinion of Shafi madhab?