Sunan Ibn Majah, Volume 5, Book 37, Hadith 4109 (DarusSalam)

It was narrated that ‘Abdullah said: “The Prophet lay down on a reed mat, and it left marks on his skin. I said: ‘May my father and mother be ransomed for you, O Messenger of Allah! If you had told us we would have provided you with something that would save you this trouble.’ The Messenger of Allah said: ‘What is there between myself and the world? This world and I are just like a rider who stops to rest beneath the shade of a tree then goes and leaves it.’”

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

sunnah.com