Hadithcore
Riyad as-Salihin, 466

Abu Hurairah (May allah be pleased with him) reported:

Messenger of Allah (ﷺ) said, "Look at those who are inferior to you and do not look at those who are superior to you, for this will keep you from belittling Allah's favour to you." This is the wording in Sahih Muslim. <b>[Al-Bukhari and Muslim]</b>. The narration in Al-Bukhari is: Messenger of Allah (ﷺ) said: "When one of you looks at someone who is superior to him in property and appearance, he should look at someone who is inferior to him".

وعنه قال‏:‏ قال رسول الله صلى الله عليه وسلم انظروا إلى من هو أسفل منكم ولا تنظروا إلى من هو فوقكم فهو أجدر أن لا تزدروا نعمة الله عليكم‏"‏ ‏(‏‏(‏متفق عليه وهذا لفظ مسلم‏)‏‏)‏‏.‏ وفي رواية البخاري‏:‏ ‏"‏إذا نظر أحدكم إلى من فضل عليه في المال والخلق، فلينظر إلى من هو أسفل منه‏"‏‏.‏ وفي رواية البخاري‏:‏ ‏"‏إذا نظر أحدكم إلى من فضل عليه في المال والخلق، فلينظر إلى من هو أسفل منه‏"‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 466
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) It urges us to give thanks to Allah Almighty for His blessings, even if we are less fortunate than others in this regard.<br> 2) The Shariah came to refine people’s souls and manners and reform their conditions.