Abdullah bin Muhammad bin Aqil said that Sayyiduna Jabir (may Allah be pleased with him) said: A man died, so we washed him and shrouded him, then we brought him to the Prophet (peace and blessings be upon him) so that he (peace and blessings be upon him) would lead the funeral prayer over him. He (peace and blessings be upon him) walked a few steps and asked: "Is he in debt?" We said: Yes, two dinars. So he (peace and blessings be upon him) turned back. Sayyiduna Abu Qatadah (may Allah be pleased with him) took the two dinars upon himself, and then we came to him (peace and blessings be upon him). Sayyiduna Abu Qatadah (may Allah be pleased with him) said: Both dinars are upon me. He (peace and blessings be upon him) said: "Has the creditor's right been secured, and is the deceased free of those dinars?" He said: Yes. Then he (peace and blessings be upon him) led the funeral prayer. A day after that, he (peace and blessings be upon him) asked: "What has become of the two dinars?" Sayyiduna Abu Qatadah (may Allah be pleased with him) said: He only died yesterday. Then the next day he (peace and blessings be upon him) asked him again, and Sayyiduna Abu Qatadah (may Allah be pleased with him) said: I have paid them both. He (peace and blessings be upon him) said: "Now you have cooled his skin for him."
(b) In one narration: through the payment, his skin was cooled for him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضمان / 11401
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that a man was owed ten dinars, and he seized hold of his debtor. The debtor said: I have nothing with which to pay the debt; I will give it to you on another day. He said: By Allah, I will not let you go until you repay me the debt or present a guarantor on your behalf. He replied: By Allah, I have nothing with which to pay the debt, nor can I find any guarantor. So he brought him to the Messenger of Allah (peace and blessings be upon him), and (the debtor) said: O Messenger of Allah, this man has seized hold of me; I asked him for one month's respite, but he refused unless I pay the debt or present a guarantor. So I said: By Allah, today I have neither a guarantor nor the money to repay the debt. The Messenger of Allah (peace and blessings be upon him) asked him (the creditor): "Can you wait just one month?" He said: No. He (peace and blessings be upon him) said: "I am the guarantor on your behalf." The man went away, and (later) came back with what he had promised. He (peace and blessings be upon him) asked: "Where have you brought this gold from?" He said: From a mine. He (peace and blessings be upon him) said: "Go, we have no need of it; there is no good in it." Then the Messenger of Allah (peace and blessings be upon him) paid off his debt himself. This is an indication that even after the guarantee the right remains upon the debtor's liability, which is why he (peace and blessings be upon him) confirmed the length of the respite. Then the Messenger of Allah (peace and blessings be upon him) paid off the debt on his behalf and kept away from the wealth of the mine. It is reported from the Prophet (peace and blessings be upon him) that: "The soul of a believing man remains suspended because of his debt until it is paid off."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضمان / 11402