The Messenger of Allah (may the blessings and peace of Allah be upon him) said : “A man from among those who were before you was called to account. Nothing in the way of good was found for him except that he used to have dealings with people and, being well-to-do, he would order his servants to let off the man in straitened circumstances [from repaying his debt]. He (the Prophet p.b.u.h) said that Allah said : We are worthier than you of that (of being so generous). Let him off.”
It was related by Muslim (also by al-Bukhari and an-Nasa’i).