Abdullah bin Umar reported,

The Messenger of Allah ﷺ took hold of my shoulders and said, "Be in this world as though you were a stranger or a traveler passing through."Ibn Umar used to say, "When evening comes, do not expect to see the morning, and when morning comes, do not expect to see the evening. Take from your health for your sickness, and from your life for your death."

Bukhari 6416

Sahih

حدثنا علي بن عبد الله حدثنا محمد بن عبد الرحمن أبو المنذر الطفاوي عن سليمان الأعمش قال حدثني مجاهد

عن عبد الله بن عمر رضي الله عنهما قال

أخذ رسول الله ﷺ بمنكبي فقال كن في الدنيا كأنك غريب أو عابر سبيل وكان ابن عمر يقول إذا أمسيت فلا تنتظر الصباح وإذا أصبحت فلا تنتظر المساء وخذ من صحتك لمرضك ومن حياتك لموتك

البخاري 6416صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Softening of hearts
Chapter
Prophet's ﷺ saying, "Be in this world as if you were a stranger or a traveler"
Numbering
Darussalam 6416
Bukhari 6416