Hadithcore
Riyad as-Salihin, 577

Abu Hurairah (May Allah be pleased with him) reported:

Messenger of Allah (ﷺ) 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." <b>[At- Tirmidhi, who classified it as Hadith Hasan]</b>.

وعن أبي هريرة رضي الله عنه أن رسول الله صلى الله عليه وسلم‏:‏ قال‏:‏ “بادروا بالأعمال سبعاً، هل تنتظرون إلا فقراً منسياً، أو غنى مطغياً، أو مرضاً مفسداً، أو هرماً مفنداً، أو موتاً مجهزاً، أو الدجال، فشر غائب ينتظر، أو الساعة، فالساعة أدهى وأمر‏؟‏‏!‏” ‏(‏‏(‏رواه الترمذى وقال‏:‏ حديث حسن‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 577
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) We are urged to hasten to good deeds, when we are still living, in good health, and enjoying youth, free time, and sufficient sustenance.<br> 2) A person will always experience something that keeps him from worship. So, a fortunate one will be helped by his Lord to overcome these hindrances and hasten towards the enduring righteous deeds.