Sahih Muslim, Book 45, Hadith 42 (Muslim 6473)

Abu Huraira 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.