It was narrated from Jabir that the Messenger of Allah (ﷺ) said:
"Whoever leaves behind money, it is for his heirs, and whoever leaves behind a debt for children, I am nearer to the believers." (JA)
English reference (JA): Vol. 3, Book 15, Hadith 2416 (JA)
Arabic reference (JA): Book 15, Hadith 2509 (JA)