Abu Hurairah reported,

The Messenger of Allah ﷺ asked, "Do you know who the bankrupt person is?"They replied, "Among us, the bankrupt person is one who has neither money nor possessions."He said, "The truly bankrupt of my nation is the one who comes on the Day of Resurrection with prayer, fasting, and charity to his credit, but he has insulted this person, slandered that one, taken the wealth of another, shed the blood of yet another, and struck someone else. So this one is given from his good deeds and that one is given from his good deeds. If his good deeds run out before his debts are settled, then their sins are taken and cast upon him, and then he is thrown into the Fire."

Azami 14897

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: أتدرون ما المفلس؟ قالوا: المفلس فينا من لا درهم له ولا متاع، فقال: إن المفلس من أمتي يأتي يوم القيامة بصلاة، وصيام، وزكاة، ويأتي قد شتم هذا وقذف هذا، وأكل مال هذا، وسفك دم هذا، وضرب هذا، فيعطى هذا من حسناته، وهذا من حسناته، فإن فنيت حسناته قبل أن يقضى ما عليه أخذ من خطاياهم فطرحت عليه، ثم طرح في النار.

الأعظمي 14897صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Vices of character
Section
Prohibition of injustice
Numbering
Jami al-Kamil 14897 (2nd edition)
Azami 14897