حَدَّثَنَا يَحْيَى بْنُ حَكِيمٍ، حَدَّثَنَا أَبُو دَاوُدَ، حَدَّثَنَا الْمَسْعُودِيُّ، أَخْبَرَنِي عَمْرُو بْنُ مُرَّةَ، عَنْ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ، عَنْ عَبْدِ اللَّهِ، قَالَ اضْطَجَعَ النَّبِيُّ ـ صلى الله عليه وسلم ـ عَلَى حَصِيرٍ فَأَثَّرَ فِي جِلْدِهِ فَقُلْتُ بِأَبِي وَأُمِّي يَا رَسُولَ اللَّهِ لَوْ كُنْتَ آذَنْتَنَا فَفَرَشْنَا لَكَ عَلَيْهِ شَيْئًا يَقِيكَ مِنْهُ ‏.‏ فَقَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏"‏ مَا أَنَا وَالدُّنْيَا إِنَّمَا أَنَا وَالدُّنْيَا كَرَاكِبٍ اسْتَظَلَّ تَحْتَ شَجَرَةٍ ثُمَّ رَاحَ وَتَرَكَهَا ‏"‏ ‏.‏

It wasnarrated that ‘Abdullah said: “The Prophet (PBUH) lay down on areed mat, and it left marks on his skin. I said: ‘May my father andmother be ransomed for you, O Messenger of Allah! If you had told uswe would have provided you with something that would save you thistrouble.’ The Messenger of Allah (PBUH) said: ‘What is therebetweenmyself and the world? This world and I are just like a riderwho stopsto rest beneath the shade of a tree then goes and leavesit.’” Translation Not Available

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