Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:10983Abū Bakr Aḥmad b. al-Ḥasan > Abū al-ʿAbbās al-Aṣam > al-Rabīʿ > al-Shāfiʿī > ʿAbd al-Majīd > Ibn Jurayj > Yūsuf b. Māhak

[Machine] Abu al-Abbas al-Asamm narrated that al-Rabi' told us that al-Shafi'i informed us that Abdullah bin Majid narrated from Ibn Jurayj from Yusuf bin Mahak that the Messenger of Allah ﷺ said, "Seek wealth from the orphan's property or from the property of the orphans, do not waste it or consume it as charity."  

البيهقي:١٠٩٨٣أَخْبَرَنَاهُ أَبُو بَكْرٍ أَحْمَدُ بْنُ الْحَسَنِ

ثنا أَبُو الْعَبَّاسِ الْأَصَمُّ أنبأ الرَّبِيعُ أنبأ الشَّافِعِيُّ أنبأ عَبْدُ الْمَجِيدِ عَنِ ابْنِ جُرَيْجٍ عَنْ يُوسُفَ بْنِ مَاهَكٍ أَنَّ رَسُولَ اللهِ ﷺ قَالَ ابْتَغُوا فِي مَالِ الْيَتِيمِ أَوْ فِي مَالِ الْيَتَامَى لَا تُذْهِبُهَا أَوْ لَا تَسْتَهْلِكُهَا الصَّدَقَةُ