In the name of Allah, Most Gracious, Most Merciful.
Abu Hurairah (May Allah be pleased with him) reported: the Messenger of Allah (May Allah exalt his mention and protect him from imperfection) said: “Hasten to do good deeds before you are overtaken by one of the seven afflictions.” Then (giving a warning) he said: “Are you waiting for poverty which will make you unmindful of devotion, or prosperity which will make you corrupt, or a disease which will disable you, or senility which will make you mentally unstable, or sudden death which will take you all of a sudden, or Ad-Dajjal who is the worst expected, or the Hour; and the Hour will be most grievous and most bitter.” [At-Tirmidhi].
Commentary: The Hadith focuses on seven things which hold back man from the virtuous path. Taking in consideration the turning health and the brief span of life to his account, he is, therefore, apt to gather up good deeds for the Hereafter because an untoward situation may confront him any moment and render him unable to do good things to his benefit in the otherworldly life.
Riyaadiss-Saliheen (The Meadows of the Righteous)
By Imam An Nawawi
Chapiter 65, Page 189, No 578