Sayyiduna al-Miqdam al-Kindi (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said: "I am closer to every believer than his own self. Whoever leaves behind a debt or children, that is our responsibility; and whoever leaves wealth, it is for his heirs. I am the guardian of one who has no guardian: I inherit his wealth and I will free his captives. And the maternal uncle is the heir of one who has no other heir: he inherits his wealth and will free his captives."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الفرائض / 12399