Nawas bin Saman reported,

A man asked the Messenger of Allah ﷺ about righteousness and sin, and the Prophet ﷺ said, "Righteousness is good character, and sin is what unsettles your heart and what you would hate for people to find out about."Muhammad bin Bashshar reported to us that Abdul-Rahman bin Mahdi reported to them that Muawiya bin Salih reported a similar account, except that in his version the narrator said, "I asked the Prophet ﷺ."

Tirmidhi 2389

Sahih

حدثنا موسى بن عبد الرحمن الكندي الكوفي حدثنا زيد بن حباب حدثنا معاوية بن صالح حدثنا عبد الرحمن بن جبير بن نفير الحضرمي عن أبيه

عن النواس بن سمعان

أن رجلا سأل رسول الله ﷺ عن البر والإثم فقال النبي ﷺ البر حسن الخلق والإثم ما حاك في نفسك وكرهت أن يطلع عليه الناس حدثنا محمد بن بشار حدثنا عبد الرحمن بن مهدي حدثنا معاوية بن صالح نحوه إلا أنه قال سألت النبي ﷺ

الترمذي 2389صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Asceticism
Chapter
Righteousness and sin
Numbering
Darussalam 2389
Tirmidhi 2389