“I was with the Prophet ﷺ, and a man came to him and said: ‘Last night while I was sleeping, I saw that I was praying towards the base of a tree. I recited (an Ayah of) prostration and prostrated, and the tree prostrated when I did, and I heard it saying: Allahummah-tut anni biha wizran, waktub li biha ajran, waj’al-ha li ‘indaka dhukhran (O Allah, reduce my burden of sin thereby, reward me for it and store it for me with You).’ Ibn ‘Abbas said: “I saw the Prophet ﷺ recite (an Ayah of) prostration and then prostrate, and I heard him saying in his prostration something like that which the man had told him the tree said.”
كُنْتُ عِنْدَ النَّبِيِّ ﷺ فَأَتَاهُ رَجُلٌ فَقَالَ إِنِّي رَأَيْتُ الْبَارِحَةَ فِيمَا يَرَى النَّائِمُ كَأَنِّي أُصَلِّي إِلَى أَصْلِ شَجَرَةٍ فَقَرَأْتُ السَّجْدَةَ فَسَجَدْتُ فَسَجَدَتِ الشَّجَرَةُ لِسُجُودِي فَسَمِعْتُهَا تَقُولُ اللَّهُمَّ احْطُطْ عَنِّي بِهَا وِزْرًا وَاكْتُبْ لِي بِهَا أَجْرًا وَاجْعَلْهَا لِي عِنْدَكَ ذُخْرًا قَالَ ابْنُ عَبَّاسٍ فَرَأَيْتُ النَّبِيَّ ﷺ قَرَأَ السَّجْدَةَ فَسَجَدَ فَسَمِعْتُهُ يَقُولُ فِي سُجُودِهِ مِثْلَ الَّذِي أَخْبَرَهُ الرَّجُلُ عَنْ قَوْلِ الشَّجَرَةِ