English translation
1964. It was narrated that Jâbir said: "The Prophet ﷺ would not pray for a man who owed a debt. A deceased person was brought to him and he said: 'Does he owe any debt?' They said: 'Yes, he owes two Dînârs.' He said: 'Pray for your companion.' Abû Qatâdah said: 'I will pay them, O Messenger of Allâh.' So he prayed for him. Then, when Allâh made His Messenger ﷺ rich through conquest, he said: 'I am closer to each believer than his own self. Whoever leaves behind a debt, I will pay it, and whoever leaves behind wealth, it is for his heirs.'" (Sahih)
