In the name of Allah, Most Gracious, Most Merciful.
Abu Hurairah (May allah be pleased with him) reported: Messenger of Allah (SAWS) 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.” (Al-Bukhari and Muslim).
This is the wording in Sahih Muslim. The narration in Al-Bukhari is: Messenger of Allah (SAWS) 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”.
Commentary: By looking at the worldly goods and riches of others, a person gradually becomes unthankful for the blessings which Allah has bestowed on him. The best remedy for this “disease” is that which has been prescribed by Messenger of Allah (SAWS) in this Hadith. The remedy is that one should look at the people who have lesser worldly goods and riches than one’s own. But from a religious angle, one should look towards those who are more fearful of Allah and observe their Salat meticulously, give their Zakat, practice Siam, if able complete the Hajj, kindness towards the parents, helping the orphan, feeding the hungry, being honest, smiling and doing other good deeds etc… so that one becomes more fond of obedience of Allah, has a greater fear of Allah and devotes more time to prayer and devotion. This dispensation is also given in other Hadith. (Notice and observe how the media generally always highlights the exact opposite in both cases)
Note: This does not mean not to work honestly desiring to be like those who Allah has given more. Just at the same time never lose focus on your Islam with which by Allah’s mercy will open the doors of Paradise inshaAllah and is the True success.
SAWS: May Allah exalt his mention and protect him from imperfection
Riyaadiss-Saliheen (The Meadows of the Righteous)
By Imam An Nawawi
Chapter 55, Page 157, No 467