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.'"
English reference: Vol. 5, Book 37, Hadith 4114
Arabic reference: Book 37, Hadith 4253