Hadith on Zuhd: The Prophet was a traveler in the world

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 example of this world and myself is that of a rider who seeks shade under a tree, then he moves on and leaves it behind.”

Source: Musnad Aḥmad 3701

Grade: Sahih (authentic) according to Ahmad Shakir

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

3701 مسند أحمد مسند المكثرين من الصحابة

5/264 المحدث أحمد شاكر خلاصة حكم المحدث إسناده صحيح في مسند أحمد