Abu Hurairah reported,

The Messenger of Allah ﷺ said, and he mentioned something similar to the hadith of Dawud, with additions and omissions. Among what he added was, "Indeed, Allah does not look at your bodies or your forms, but He looks at your hearts," and he pointed with his fingers to his chest.

Muslim 6542

Sahih

حدثني أبو الطاهر أحمد بن عمرو بن سرح حدثنا ابن وهب عن أسامة وهو ابن زيد أنه سمع أبا سعيد مولى عبد الله بن عامر بن كريز يقول سمعت

أبا هريرة يقول

ا قال رسول الله ﷺ فذكر نحو حديث داود وزاد ونقص ومما زاد فيه إن الله لا ينظر إلى أجسادكم ولا إلى صوركم ولكن ينظر إلى قلوبكم وأشار بأصابعه إلى صدره

مسلم 6542صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Prohibition of wronging a Muslim, abandoning him, despising him, and violating his blood, honor, and wealth
Numbering
Darussalam 6542
Muslim 6542