Sahih al-Bukhari 6416
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
كُنْ فِي الدُّنْيَا كَأَنَّكَ غَرِيبٌ، أَوْ عَابِرُ سَبِيلٍ "
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."
Full reference and source
Sahih al-Bukhari 6416 In-book : Book 81, Hadith 5 USC-MSA web (English) : Vol. 8, Book 76, Hadith 425 (deprecated)
View source on Sunnah.com (opens in a new tab)