Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever has wronged his brother in his honor or in anything else, let him seek his forgiveness today, before there will be neither Dinar nor dirham. If he has any righteous deeds, they will be taken from him in proportion to his wrongdoing, and if he has no good deeds, then the sins of the one he wronged will be taken and placed upon him."

Azami 5923

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: من كانت له مظلمة لأحد من عرضه أو شيء فليتحلله منه اليوم قبل أن لا يكون دينار ولا درهم، إن كان له عمل صالح أخذ منه بقدر مظلمته، وإن لم تكن له حسنات أخذ من سيئات صاحبه فحمل عليه.

الأعظمي 5923صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Injustices and usurpation
Section
Taking the oppressor's good deeds and giving them to the oppressed on the Day of Resurrection
Numbering
Jami al-Kamil 5923 (2nd edition)
Azami 5923