The Messenger of Allah ﷺ said, "There was a man who used to lend money to people. He would say to his servant, 'When you come to one in difficulty, overlook his debt, perhaps Allah will overlook our sins.' So he met Allah , and Allah overlooked his sins."
حدثنا أبو كامل حدثنا إبراهيم بن سعد حدثنا ابن شهاب عن عبيد الله بن عبد الله
أن رسول الله ﷺ قال كان رجل يداين الناس فكان يقول لفتاه إذا أتيت معسرا فتجاوز عنه لعل الله أن يتجاوز عنا قال فلقي الله عز وجل فتجاوز عنه
Its isnad is sahih. Bukhari related it in 4:262 and 6:379, and Muslim in 1:260, both through Zuhri with this same isnad. Munziri mentioned it in Targhib wal-Tarhib 2:35-36 and attributed it to the two sheikhs. See also 410, 508, and 6963.