Abdullah bin Amr bin As reported,

I heard the Messenger of Allah ﷺ say, "There are two qualities such that whoever has them both, Allah records him as grateful and patient, and whoever lacks them, Allah records him as neither grateful nor patient. Whoever looks in matters of his religion to one who is above him and follows his example, and looks in matters of this world to one who is below him and praises Allah for the favor He has shown him over that person, Allah records him as grateful and patient. But whoever looks in matters of his religion to one who is below him, and looks in matters of this world to one who is above him and grieves over what he has missed of it, Allah records him as neither grateful nor patient."Musa bin Hizam, the righteous man, reported to us, from Ali bin Ishaq, from Abdullah bin Mubarak, from Muthanna bin Sabbah, from Amr bin Shuayb, from his father, from his grandfather, from the Prophet ﷺ, a similar report.He said, this is a fine but unusual hadith, and Suwayd bin Nasr did not mention "from his father" in his version.

Tirmidhi 2512

Daif

حدثنا سويد بن نصر أخبرنا ابن المبارك عن المثنى بن الصباح عن عمرو بن شعيب

عن جده عبد الله بن عمرو قال

سمعت رسول الله ﷺ يقول خصلتان من كانتا فيه كتبه الله شاكرا صابرا ومن لم تكونا فيه لم يكتبه الله شاكرا ولا صابرا من نظر في دينه إلى من هو فوقه فاقتدى به ومن نظر في دنياه إلى من هو دونه فحمد الله على ما فضله به عليه كتبه الله شاكرا صابرا ومن نظر في دينه إلى من هو دونه ونظر في دنياه إلى من هو فوقه فأسف على ما فاته منه لم يكتبه الله شاكرا ولا صابرا أخبرنا موسى بن حزام الرجل الصالح حدثنا علي بن إسحق أخبرنا عبد الله بن المبارك أخبرنا المثنى بن الصباح عن عمرو بن شعيب عن أبيه عن جده عن النبي ﷺ نحوه قال هذا حديث حسن غريب ولم يذكر سويد بن نصر في حديثه عن أبيه

الترمذي 2512ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Description of the Resurrection, softening of hearts, and piety from the Messenger of Allah ﷺ
Chapter
Look at those who are below you
Numbering
Darussalam 2512
Tirmidhi 2512