Abu Umama reported,

A man asked the Prophet ﷺ, "What is sin?"He replied, "Whenever something stirs unease in your heart, leave it."The man asked, "What is faith?"He answered, "If your bad deed grieves you and your good deed pleases you, then you are a believer."

Azami 190

Sahih

عن أبي أمامة قال

سأل رجل النبي ﷺ فقال: ما الإثم؟ فقال: إذا حك في نفسك شيء فدعه. قال: فما الإيمان؟ قال: إذا ساءتك سيئتك، وسرتك حسنتك، فأنت مؤمن.

الأعظمي 190صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Qualities of faith
Section
Sins are from the ways of the Jahiliyyah, and one who commits them does not become a disbeliever except through shirk
Numbering
Jami al-Kamil 190 (2nd edition)
Azami 190