Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Look at those below you and do not look at those above you, for it is the best way not to belittle the favors of Allah.”
Source: Ṣaḥīḥ al-Bukhārī 6490, Ṣaḥīḥ Muslim 2963
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَبِي هُرَيْرَةَ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ انْظُرُوا إِلَى مَنْ أَسْفَلَ مِنْكُمْ وَلاَ تَنْظُرُوا إِلَى مَنْ هُوَ فَوْقَكُمْ فَهُوَ أَجْدَرُ أَنْ لاَ تَزْدَرُوا نِعْمَةَ اللَّهِ
6490 صحيح البخاري كتاب الرقاق باب لينظر إلى من هو أسفل منه ولا ينظر إلى من هو فوقه
2963 صحيح مسلم كتاب الزهد والرقائق