Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) said: Do not look at anyone's prayer or fasting; rather, look at the one who, when he speaks, tells the truth, when he is entrusted, fulfils the trust, and when he comes close (to wrongdoing), holds back out of piety.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الوديعة / 12693