The Messenger of Allah ﷺ stopped by a group of people who were sitting and asked, "Shall I tell you who among you is the best and who is the worst?"They remained silent. He repeated this three times.Then a man said, "Yes, Messenger of Allah, tell us who among us is the best and who is the worst."He said, "The best of you is the one whose goodness is hoped for and whose harm is safeguarded against, and the worst of you is the one whose goodness is not hoped for and whose harm is not safeguarded against."
أن رسول الله ﷺ وقف على ناس جلوس، فقال: ألا أخبركم بخيركم من شركم؟ قال: فسكتوا، فقال ذلك ثلاث مرات، فقال رجل: بلى يا رسول الله، أخبرنا بخيرنا من شرنا، قال: خيركم من يرجى خيره ويؤمن شره، وشركم من لا يرجى خيره ولا يؤمن شره.
Narrated by Tirmidhi (2263), Ahmad (8812, 8920), and Ibn Hibban graded it sahih (527, 528), all of them through Ala bin Abdul-Rahman, from his father, from Abu Hurairah, who mentioned it. Its chain is hasan because of Ala bin Abdul-Rahman, for his hadith is hasan.Tirmidhi said, "This is a hasan sahih hadith."