Abu Hurairah RA reported Allah’s Messenger ﷺ as saying:
إِنَّ اللَّهَ لَا يَنْظُرُ إِلَى صُوَرِكُمْ وَأَمْوَالِكُمْ وَلَكِنْ يَنْظُرُ إِلَى قُلُوبِكُمْ وَأَعْمَالِكُمْ
Verily Allah does not look to your faces and your wealth but He looks to your heart and to your deeds.
Sahih Muslim (2564)