The Messenger of Allah ﷺ said, "Allah does not look at your appearances or your wealth, but He looks at your hearts and your deeds."
قال رسول الله ﷺ: إن الله لا ينظر إلى صوركم وأموالكم، ولكن ينظر إلى قلوبكم وأعمالكم.
Muslim narrated it in "Righteousness and Maintaining Ties" (34:2564) from Amr Naqid, who said, Kathir bin Hisham narrated to us, Jafar bin Barqan narrated to us, from Yazid bin Asam, from Abu Hurairah, who mentioned it.