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.
quran:89:17

No! But you do not honor the orphan  

No indeed! — a disavowal ˹of this notion˺, in other words, honour is not about wealth, nor is there any humiliation in poverty, rather it has to do with obedience and disobedience ˹respectively˺; but the disbelievers of Mecca unmindful of this. Rather they do not honour the orphan, they do not treat him with kindness, despite their wealth, or ˹it means that˺ they do not give him what is his due from an inheritance,
القرآن:٨٩:١٧

كَلَّا ۖ بَلْ لَا تُكْرِمُونَ الْيَتِيمَ  

{كلا} ردع، أي ليس الإكرام بالغنى والإهانة بالفقر وإنما هو بالطاعة والمعصية، وكفار مكة لا ينتبهون لذلك {بل لا يكرمون اليتيم} لا يحسنون إليه مع غناهم أو لا يعطونه حقه من الميراث.