Jami` at-Tirmidhi #2389
Chapters On Zuhd 36:86
An-Nawas bin Sama'an narrated that a man came asking the Messenger of Allah (s.a.w) about righteousness and sin. So the Prophet (s.a.w) said:
"Righteouness is good behaviour, and sin is what fluctuates in your chest, and you would hate that the people discovered it about you."