Abu Huraira reported Allah's Messenger (ﷺ) as saying:
Look at those who stand at a lower level than you but don't look at those who stand at a higher level than you, for this would make the favours (conferred upon you by Allah) insignificant (in your eyes). Abu Mu'awiya said: Upon you.
Reference: Sahih Muslim 2963 c
In-book reference: Book 55, Hadith 14
USC-MSA web (English) reference(deprecated numbering scheme): Book 42, Hadith 7070
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.