Abu Hurairah reported,

He traced it back to the Prophet ﷺ, who said, "Allah does not look at your appearances or your wealth, but rather He looks at your deeds and your hearts."

Ibn Majah 4143

Sahih

حدثنا أحمد بن سنان حدثنا كثير بن هشام حدثنا جعفر بن برقان حدثنا يزيد بن الأصم

عن أبي هريرة

رفعه إلى النبي ﷺ قال إن الله لا ينظر إلى صوركم وأموالكم ولكن إنما ينظر إلى أعمالكم وقلوبكم

ابن ماجه 4143صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Asceticism
Chapter
Contentment
Numbering
Darussalam 4143
Ibn Majah 4143