Narrated Mujahid that Ibn Omar said: Allah’s Messenger, peace be upon him took hold of my shoulder and said, “Be in this world as if you were a stranger or a traveler.”
The sub-narrator added: Ibn Omar used to say, “If you survive till the evening, do not expect to be alive in the morning. And if you survive till the morning, do not expect to be alive in the evening. And take your health for your sickness, and (take) from your life for your death.” [Do good deeds when you are healthy and alive before you become sick and die.]
(8: 425- O.B. Sahih Al-Bukhari)