Jami` at-Tirmidhi, Book 36, Hadith 86 (Tirmidhi 2458)

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."