صحيح البخاري Sahih Bukhari كتاب الرقاق The Book of Ar-Riqaq (Softening of The Hearts)
بَابُ قَوْلِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «كُنْ فِي الدُّنْيَا كَأَنَّكَ غَرِيبٌ، أَوْ عَابِرُ سَبِيلٍ»:

(3) Chapter. The statement of the Prophet: “Be in this world as if you were a stranger."

1 hadith
Hadith 6416
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ ، حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الرَّحْمَنِ أَبُو المُنْذِرِ الطُّفَاوِيُّ ، عَنْ سُلَيْمَانَ الْأَعْمَشِ ، قَالَ : حَدَّثَنِي مُجَاهِدٌ ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا ، قَالَ : أَخَذَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِمَنْكِبِي ، فَقَالَ : " كُنْ فِي الدُّنْيَا كَأَنَّكَ غَرِيبٌ ، أَوْ عَابِرُ سَبِيلٍ " ، وَكَانَ ابْنُ عُمَرَ يَقُولُ : إِذَا أَمْسَيْتَ فَلَا تَنْتَظِرِ الصَّبَاحَ ، وَإِذَا أَصْبَحْتَ فَلَا تَنْتَظِرِ الْمَسَاءَ ، وَخُذْ مِنْ صِحَّتِكَ لِمَرَضِكَ وَمِنْ حَيَاتِكَ لِمَوْتِكَ .
Narrated Mujahid: `Abdullah bin `Umar said, "Allah's Apostle 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."
Hadith Reference Sahih Bukhari / The Book of Ar-Riqaq (Softening of The Hearts) / Hadith: 6416
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة