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