The Messenger of Allah ﷺ said, "A man from those who lived before you was brought to account, and no good was found to his credit except that he had been a wealthy man who dealt with people, and he used to instruct his servants to be lenient with anyone in financial difficulty. So Allah said, 'We are more deserving of that than him. Pardon him.'"
حدثنا هناد حدثنا أبو معاوية عن الأعمش عن شقيق
قال رسول الله ﷺ حوسب رجل ممن كان قبلكم فلم يوجد له من الخير شيء إلا أنه كان رجلا موسرا وكان يخالط الناس وكان يأمر غلمانه أن يتجاوزوا عن المعسر فقال الله عز وجل نحن أحق بذلك منه تجاوزوا عنه
Chapter references. It was also narrated by Muslim in "The Book of Sharecropping," chapter "The virtue of giving respite to the one in hardship, and overlooking in demanding repayment from both the one with means and the one in hardship," hadith no. 1561, from the hadith of Abu Muawiya al-Darir with the same wording.