From Sahih Muslim (Hadith 6516):
Nawwas b. Sam'an al-Ansari reported:I asked Allah's Messenger (ﷺ) about virtue and vice. He said: Virtue is a kind disposition and vice is what rankles in your heart and that you disapprove that people should come to know of it
Reference: Muslim 6516