Hadithcore
Riyad as-Salihin, 108

'Abdullah bin Busr Al-Aslami (May Allah be pleased with him) said:

Messenger of Allah (ﷺ) said, "The best of people is one whose life is long and his conduct is good". <b>[At- Tirmidhi, who categorized it as Hadith Hasan]</b>.

الرابع عشر‏:‏ عن أبي صفوان عبد الله بن بسر الأسلمي، رضي الله عنه، قال‏:‏ قال رسول الله صلى الله عليه وسلم‏:‏ ‏"‏ خير الناس من طال عمره وحسن عمله‏"‏ ‏(‏‏(‏رواه الترمذي، وقال‏:‏ حديث حسن‏.‏ ‏"‏بسر‏"‏‏:‏ بضم الياء وبالسين المهملة‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 108
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) The believer should ask Allah to make him among those whose lives are long and their deeds are good.<br> 2) Long life does not necessarily bode well for the individual except if his deeds are good.<br> <br> <b>Benefit:</b><br> Some scholars disliked making supplication for long life without restricting it (to long life in obedience to Allah). Instead, one should supplicate for a long life filled with obedience to Allah. Um Habibah, wife of the Prophet (may Allah’s peace and blessings be upon him) once said: “O Allah, give me the joy of being with my husband, the Messenger of Allah (may Allah’s peace and blessings be upon him), and of being with my father Abu Sufyān, and my brother Mu‘āwiyah.” The Prophet (may Allah’s peace and blessings be upon him) said to her: “You have asked Allah regarding life terms that are already set, and days already allotted, and sustenances already fixed. Nothing will happen before its decreed time or be delayed beyond its decreed time. Had you asked Allah to provide you refuge from the torment of the hellfire or from the torment of the grave, it would have been better for you.” [Narrated by Muslim]