[Machine] Allah ﷺ said, "Seek from the wealth of the orphan, or from the wealth of the orphans, do not let charity dissipate it or consume it." This is a statement and has been affirmed by Al-Shafi'i, may Allah have mercy on him, based on the evidence of the first report and what has been narrated from the Companions in that regard. It has also been narrated from 'Amr ibn Shu'ayb from his father from his grandfather in a raised report.
اللهِ ﷺ قَالَ ابْتَغُوا فِي مَالِ الْيَتِيمِ أَوْ فِي أَمْوَالِ الْيَتَامَى لَا تُذْهِبُهَا أَوْ لَا تَسْتَهْلِكُهَا الصَّدَقَةُ وَهَذَا مُرْسَلٌ إِلَّا أَنَّ الشَّافِعِيَّ رَحِمَهُ اللهُ أكَّدَهُ بِالِاسْتِدْلَالِ بِالْخَبَرِ الْأَوَّلِ وَبِمَا رُوِيَ عَنِ الصَّحَابَةِ ؓ فِي ذَلِكَ وَقَدْ رُوِيَ عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ مَرْفُوعًا