Fiqh-us-Sunnah Volume 4, Funerals and Dhikr, Fiqh 4.014.

Section : Excellence of a Long Life Enriched with Good Deeds.

It is reported by Abdurrahman ibn Abu Bakrah on the authority of his father that a man asked: “O Messenger of Allah ! Who is the best of all people?” He replied, “He who lives long and does good deeds.” The man asked, “And who is the worst of men?” The Prophet, peace be upon him, replied: “He who lives long but commits evil.” (Narrated by Ahmad and at-Tirrnizhi, who says it is a sound hadith) Abu Hurairah reported that the Prophet, peace be upon him, said, “Shall I tell you who is the best among you?” The Companions said, “Yes, O Allah’s Messenger.” Thereupon he said, “The best among you are those who live long and are best in deeds.” (Narrated by Ahmad and others with a sound chain)