Sahih al-Bukhari 6745
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَنَا أَوْلَى بِالْمُؤْمِنِينَ مِنْ أَنْفُسِهِمْ، فَمَنْ مَاتَ وَتَرَكَ مَالاً فَمَالُهُ لِمَوَالِي الْعَصَبَةِ، وَمَنْ تَرَكَ كَلاًّ أَوْ ضَيَاعًا، فَأَنَا وَلِيُّهُ فَلأُدْعَى لَهُ "
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "I am more closer to the believers than their ownselves, so whoever (among them) dies leaving some inheritance, his inheritance will be given to his 'Asaba, and whoever dies leaving a debt or dependants or destitute children, then I am their supporter."
Full reference and source
Sahih al-Bukhari 6745 In-book : Book 85, Hadith 22 USC-MSA web (English) : Vol. 8, Book 80, Hadith 737 (deprecated)
View source on Sunnah.com (opens in a new tab)