Sunan Ibn Majah, Book 12, Hadith 63 (Ibn Majah 2199)

It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:

Whoever agrees with a Muslim to cancel a transaction Allah will forgive his sins on the Day of Resurrection. "