Narrated Salamah bin Al-Akwa: Once when we were sitting in the company of the Prophet, peace be upon him, a dead person was brought. The Prophet, peace be upon him, was requested to lead the Salat (prayer) for the deceased. He said, ‘Is he in debt?” The people replied in the negative. He said, “Has he left any wealth?” They said, “No.” So, he led his funeral prayer.

Another dead person was brought and the people said, “O Allah’s Messenger! Lead his funeral Salat. The Prophet, peace be upon him, said, “Is he in debt?” They said, “Yes.” He said, “Has he left any left any wealth?” They said, “Three Dinars.” So, he led the prayer.

Then a third dead person was brought and the people said, “Please lead his funeral prayer.” He said, “Has he left any wealth?” They said, “No.” He asked, “Is he in debt?” They said, (Yes! He has to pay) three Dinars.” He (refused to pray and) said, “Then offer Salat for your (dead) companion.”

Abu Qatadah said, “O Allah’s Messenger! Lead his funeral prayer, and I will pay his debt.” So, he led the Salat.
[3: 488- O.B. Sahih Al-Bukhari]

Narrated Abu Hurairah: The Prophet, peace be upon him, said, “Procrastination (delay) in paying debts by a wealthy person is injustice. So, if your debt is transferred from your debtor to a rich debtor, you should agree.”
[As the postponement of paying debts by a rich person is injustice, one should accept Hawala upon that man, for one may be better able to collect the debt from the rich man than the transferor may. Thus, by accepting the Hawala one helps the rich man to avoid injustice.]
[3: 486- O.B. Sahih Al-Bukhari)