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." (FR)
English reference (FR): Vol. 3, Book 15, Hadith 2416 (FR)
Arabic reference (FR): Book 15, Hadith 2509 (FR)