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. (AR)
English reference (AR): Book 16, Hadith 1553 (AR)
Arabic reference (AR): Book 16, Hadith 1510 (AR)