[Machine] He heard Ibn Abbas say, "A man came to the Prophet ﷺ and said, 'O Messenger of Allah, I saw myself tonight as the sleeper sees himself, as if I was praying by a tree and I recited Surah As-Sajdah and prostrated. Then I saw the tree prostrating along with me and I heard it saying, 'O Allah, write for me a reward for it with You, and remove a sin from me because of it, and make it a treasure for me with You, and accept it from me as You accepted it from Your servant Dawud.' Ibn Abbas said, 'So the Messenger of Allah ﷺ recited Surah As-Sajdah and I heard him saying in his prostration just as the man informed him about the words of the tree.'"
أَنَّهُ سَمِعَ ابْنَ عَبَّاسٍ ؓ ما يَقُولُ جَاءَ رَجُلٌ إِلَى النَّبِيِّ ﷺ فَقَالَ يَا رَسُولَ اللهِ إِنِّي رَأَيْتُنِي فِي هَذِهِ اللَّيْلَةِ فِيمَا يَرَى النَّائِمُ كَأَنِّي أُصَلِّي عِنْدَ شَجَرَةٍ وَكَأَنِّي قَرَأْتُ سُورَةَ السَّجْدَةِ فَسَجَدْتُ فَرَأَيْتُ الشَّجَرَةَ كَأَنَّهَا سَجَدَتْ بسُجُودِي وَكَأَنِّي أَسْمَعُهَا وَهِي تَقُولُ اللهُمَّ اكْتُبْ لِي بِهَا عِنْدَكَ أَجْرًا وَضَعْ عَنِّي بِهَا وِزْرًا وَاجْعَلْهَا لِي عِنْدَكَ ذُخْرًا وَتَقَبَّلْ مِنِّي كَمَا تَقَبَّلْتَ مِنْ عَبْدِكَ دَاوُدَ قَالَ ابْنُ عَبَّاسٍ «فَقَرَأَ رَسُولُ اللهِ ﷺ السَّجْدَةَ فَسَمِعْتُهُ يَقُولُ فِي سُجُودِهِ كَمَا أَخْبَرَهُ الرَّجُلُ عَنْ قَوْلِ الشَّجَرَةِ»