Sahih Muslim 2553 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
الْبِرُّ حُسْنُ الْخُلُقِ وَالإِثْمُ مَا حَاكَ فِي نَفْسِكَ وَكَرِهْتَ أَنْ يَطَّلِعَ عَلَيْهِ النَّاسُ "
Nawwas b. Sam'an reported:
I stayed with Allah's Messenger (ﷺ) for one year. What obstructed me to migrate was (nothing) but (persistent) inquiries from him (about Islam). (It was a common observation) that when anyone of us migrated (to Medina) he ceased to ask (too many questions) from Allah's Messenger (ﷺ). So I asked him about virtue and vice. Thereupon Allah's Messenger (ﷺ) said: Virtue is a kind disposition and vice is what rankles in your mind and that you disapprove of its being known to the people.
Full reference and source
Sahih Muslim 2553 b In-book : Book 45, Hadith 17 USC-MSA web (English) : Book 32, Hadith 6196 (deprecated)
View source on Sunnah.com (opens in a new tab)