Abu Bakr As-Siddiq (رضي الله عنه) used to say in his sermons:

“Where is the beauty and the handsome? Where are those who were delighted by their youth and good looks? Where are the kings who built cities and fenced them with walls? Where are the victorious in wars? They all perished and ended in the depths of dark graves! Hasten and hurry up [to do good deeds]; but death is faster.”

[Al-Zuhd by Imam Ahmad (2/18), Hilyah al-Awliya’ (1/34) and Sifat al-Safwah (1/261)]