Sunan Ibn Majah 1053
It was
narrated that Ibn ‘Abbas said:
“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.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ خَلاَّدٍ الْبَاهِلِيُّ، حَدَّثَنَا مُحَمَّدُ بْنُ يَزِيدَ بْنِ خُنَيْسٍ، عَنِ الْحَسَنِ بْنِ مُحَمَّدِ بْنِ عُبَيْدِ اللَّهِ بْنِ أَبِي يَزِيدَ، قَالَ قَالَ لِي ابْنُ جُرَيْجٍ يَا حَسَنُ أَخْبَرَنِي جَدُّكَ، عُبَيْدُ اللَّهِ بْنُ أَبِي يَزِيدَ عَنِ ابْنِ عَبَّاسٍ، قَالَ كُنْتُ عِنْدَ النَّبِيِّ ـ صلى الله عليه وسلم ـ فَأَتَاهُ رَجُلٌ فَقَالَ إِنِّي رَأَيْتُ الْبَارِحَةَ فِيمَا يَرَى النَّائِمُ كَأَنِّي أُصَلِّي إِلَى أَصْلِ شَجَرَةٍ فَقَرَأْتُ السَّجْدَةَ فَسَجَدْتُ فَسَجَدَتِ الشَّجَرَةُ لِسُجُودِي فَسَمِعْتُهَا تَقُولُ اللَّهُمَّ احْطُطْ عَنِّي بِهَا وِزْرًا وَاكْتُبْ لِي بِهَا أَجْرًا وَاجْعَلْهَا لِي عِنْدَكَ ذُخْرًا.‏

 قَالَ ابْنُ عَبَّاسٍ فَرَأَيْتُ النَّبِيَّ ـ صلى الله عليه وسلم ـ قَرَأَ السَّجْدَةَ فَسَجَدَ فَسَمِعْتُهُ يَقُولُ فِي سُجُودِهِ مِثْلَ الَّذِي أَخْبَرَهُ الرَّجُلُ عَنْ قَوْلِ الشَّجَرَةِ.‏