Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that the Prophet (peace and blessings be upon him) said: "Debts are of two kinds. Whoever dies while intending to repay it, I will be his guardian; and whoever dies without even intending to repay it, he is the one whose good deeds will be taken, on that day when there will be no dinar and no dirham."
Imam al-Tabarani recorded it in al-Mu'jam al-Kabir; its chain contains a narrator, Muhammad bin Abd al-Rahman bin al-Baylamani, who is da'if (weak).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب البيوع / 6656