Abu Hurairah reported,

The Messenger of Allah ﷺ said, "I am closer to the believers than they are to themselves. Whoever dies leaving wealth, his wealth goes to his paternal heirs, and whoever leaves behind dependents or those in need, I am their guardian, so let them be referred to me."

Azami 6046

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: أنا أولى بالمؤمنين من أنفسهم، فمن مات وترك مالا فماله لموالي العصبة، ومن ترك كلا أو ضياعا فأنا وليه فلأدعى له.

الأعظمي 6046صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Obligatory duties
Section
He who leaves wealth, it is for his heirs
Numbering
Jami al-Kamil 6046 (2nd edition)
Azami 6046