حَدَّثَنَا يَحْيَى بْنُ حَبِيبِ بْنِ عَرَبِيٍّ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ لَيْثٍ، عَنْ مُجَاهِدٍ، عَنِ ابْنِ عُمَرَ، قَالَ أَخَذَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ بِبَعْضِ جَسَدِي فَقَالَ ‏"‏ يَا عَبْدَ اللَّهِ كُنْ فِي الدُّنْيَا كَأَنَّكَ غَرِيبٌ أَوْ كَأَنَّكَ عَابِرُ سَبِيلٍ وَعُدَّ نَفْسَكَ مِنْ أَهْلِ الْقُبُورِ ‏"‏ ‏.‏

It wasnarrated that Ibn ‘Umar said: “The Messenger of Allah (PBUH)tookhold of some part of my body and said: ‘O ‘Abdullah, be in thisworld like a stranger, or one who is passing through, and consideryourself as one of the people of the graves.’” Translation Not Available

Book Ref: Sunan Ibn Majah Book 37 Hadith 4114
Web Ref:  Sunan Ibn Majah Vol 5 Book 37 Hadith 4114