Anas (RAA) narrated that the Messenger of Allah (ﷺ) said:
"Blessed is he who is preoccupied with his defects rather than those of other people." Related by Al-Bazzar with a good chain of narrators. (ES)
English reference (ES): Book 16, Hadith 1553 (ES)
Arabic reference (ES): Book 16, Hadith 1510 (ES)