It is narrated from Sayyiduna Abu Malik al-Ash'ari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Allah, the Mighty and Majestic, does not look at your bodies, nor at your lineage, nor at your wealth; rather, He looks at your hearts. Whoever has a righteous heart, Allah is compassionate towards him. You are all the children of Adam, and the most beloved of you to me is the one with the most taqwa (God-consciousness)."
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 3443