كتاب المقدمات
The Book of Miscellany
(55)
Chapter: Excellence of Leading an Ascetic Life, and Virtues of Simple Life
(55)
- باب فضل الزهد في الدنيا و الحث على التقلل منها و فضل الفقر
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.

[Al-Bukhari and Muslim].

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".

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

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

Reference : Riyad as-Salihin 466
In-book reference : Introduction, Hadith 466