(3) باب قَوْلِ النَّبِيِّ صلى الله عليه وسلم " كُنْ فِي الدُّنْيَا كَأَنَّكَ غَرِيبٌ، أَوْ عَابِرُ سَبِيلٍ "
Narrated Mujahid:
`Abdullah bin `Umar said, "Allah's Messenger (ﷺ) 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 `Umar 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 from your health for your sickness, and (take) from your life for your death."
Reference: Sahih al-Bukhari 6416
In-book reference: Book 81, Hadith 5
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 76, Hadith 425