عَنْ أَبِي هُرَيْرَةَ رَضيَ اللهُ عنهُ قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «انْظُرُوا إِلَى مَنْ أَسْفَلَ مِنْكُمْ، وَلَا تَنْظُرُوا إِلَى مَنْ هُوَ فَوْقَكُمْ، فَهُوَ أَجْدَرُ أَلَّا تَزْدَرُوا نِعْمَةَ اللهِ عَلَيْكُمْ».
The Prophet (may Allah's peace and blessings be upon him) commanded the Muslim to look at those who are below him and lower than him in terms of status, wealth, prestige, etc., and not to look at those who are above him or better than him in his worldly affairs. This is because looking at those who are below you is more likely to prevent you from despising or belittling the blessings of Allah upon you.
Download for free and never miss a prayer again