Abdullah ibn Mas’ud reported: The Messenger of Allah, peace and blessings be upon him, laid down upon a reed mat and it left marks on his side. When he woke up, I started wiping his side, and I said, “O Messenger of Allah, why do you not let us spread something on top of this mat for you?” The Prophet said, “What is the world to me? What am I to the world? Verily, the parable of myself and this world is that of a rider who seeks shade under a tree, then he moves on and leaves it behind.”
Source: Musnad Aḥmad 3709
Grade: Sahih (authentic) according to Al-Arna’ut
عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ قَالَ اضْطَجَعَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَلَى حَصِيرٍ فَأَثَّرَ فِي جَنْبِهِ فَلَمَّا اسْتَيْقَظَ جَعَلْتُ أَمْسَحُ جَنْبَهُ فَقُلْتُ يَا رَسُولَ اللَّهِ أَلَا آذَنْتَنَا حَتَّى نَبْسُطَ لَكَ عَلَى الْحَصِيرِ شَيْئًا فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا لِي وَلِلدُّنْيَا مَا أَنَا وَالدُّنْيَا إِنَّمَا مَثَلِي وَمَثَلُ الدُّنْيَا كَرَاكِبٍ ظَلَّ تَحْتَ شَجَرَةٍ ثُمَّ رَاحَ وَتَرَكَهَا
3709 مسند أحمد بن حنبل
6/242 المحدث شعيب الأرناؤوط خلاصة حكم المحدث صحيح في تخريج المسند لشعيب