It wasnarrated that Ibn 'Umar said:
"The Messenger of Allah (ﷺ)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.'" (FR)
English reference (FR): Vol. 5, Book 37, Hadith 4114 (FR)
Arabic reference (FR): Book 37, Hadith 4253 (FR)