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 the Book of Righteousness and Maintaining Ties of Kinship (2564:34), from Amr Naqid, who said, Kathir bin Hisham narrated to us, who said, Jafar bin Barqan narrated to us, from Yazid bin Asam, from Abu Hurairah, and he mentioned it.