Abdullah bin Abbas reported,

A man came to the Prophet ﷺ and said, "Messenger of Allah, last night while I was asleep I saw myself praying behind a tree. When I prostrated, the tree prostrated along with me, and I heard it saying, 'O Allah, record for me by it a reward with You, remove from me by it a burden, store it for me with You as a treasure, and accept it from me as You accepted it from Your servant Dawud.'"Hasan said, Ibn Jurayj told me, my grandfather told me, Ibn Abbas said, the Prophet ﷺ then recited a verse of prostration and prostrated.Ibn Abbas said, "I heard him saying the very same words the man had reported the tree as saying."

Tirmidhi 579

Hasan

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

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

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

الترمذي 579حسن
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Travel
Chapter
What to say in the prostration of Quran recitation
Numbering
Darussalam 579
Tirmidhi 579