It is narrated from Sayyiduna Ibn Amr (may Allah be pleased with him) that a man asked the Prophet Muhammad (peace and blessings be upon him): "I do not have any wealth, but I have an orphaned nephew." The Prophet Muhammad (peace and blessings be upon him) said: "You may eat from your orphaned nephew's wealth, that which does not fall under extravagance," or he said: "Do not make your wealth a ransom in exchange for his wealth."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 6747