Nawwas bin Sam'an (May Allah be pleased with him) reported:
I asked Messenger of Allah (ﷺ) about virtue and sin, and he said, "Virtue is noble behaviour, and sin is that which creates doubt and you do not like people to know about it."

[Muslim].

📚Riyad as-Salihin 623