Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: A man came to the Prophet (peace and blessings be upon him) and said: "O Messenger of Allah, last night I saw in a dream that I was praying behind a tree, and during the prayer I recited Sad [Surah Sad: 24]. When I reached the verse of prostration, I prostrated, and the tree also prostrated with me. I heard the tree reciting this supplication in prostration: 'Allahumma uktub li biha 'indaka dhikran, waj'al li biha 'indaka dhukhran, wa a'zim li biha 'indaka ajran' (O Allah, record for me with You a remembrance in return for this prostration, make it a treasure for me with You, and make for me by it a great reward with You)." Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: I heard the Messenger of Allah (peace and blessings be upon him): he recited Sad [Surah Sad: 24], and when he reached the verse of prostration he prostrated, and I heard him (peace and blessings be upon him) say in his prostration the same supplication that the man had reported from the tree.
This is the wording of the narration of Abu Bakr (bin Ishaq), except that he did not say "bi-sujudi" (with my prostration).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3751