Abdullah bin Abbas reported,

I was with the Prophet ﷺ when a man came to him and said, "Last night, in a dream, it was as though I was praying at the foot of a tree. I recited a verse of prostration and prostrated, and the tree prostrated along with my prostration. I heard it saying, 'O Allah, by it remove from me a sin, record for me by it a reward, and make it for me a treasure stored with You.'"Ibn Abbas said, "I then saw the Prophet ﷺ recite a verse of prostration and prostrate, and I heard him say in his prostration the same words that the man had reported the tree said."

Ibn Majah 1053

Hasan

حدثنا أبو بكر بن خلاد الباهلي حدثنا محمد بن يزيد بن خنيس عن الحسن بن محمد بن عبيد الله بن أبي يزيد قال قال لي ابن جريج يا حسن أخبرني جدك عبيد الله بن أبي يزيد

عن ابن عباس قال

كنت عند النبي ﷺ فأتاه رجل فقال إني رأيت البارحة فيما يرى النائم كأني أصلي إلى أصل شجرة فقرأت السجدة فسجدت فسجدت الشجرة لسجودي فسمعتها تقول اللهم احطط عني بها وزرا واكتب لي بها أجرا واجعلها لي عندك ذخرا قال ابن عباس فرأيت النبي ﷺ قرأ السجدة فسجد فسمعته يقول في سجوده مثل الذي أخبره الرجل عن قول الشجرة

ابن ماجه 1053حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Prostrations of the Quran
Numbering
Darussalam 1053
Ibn Majah 1053