It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he said: "I saw in a dream as though I were under a tree, and the tree was reciting Surah Sad. When it reached the verse of prostration, it prostrated, and while prostrating it made this supplication: 'Allahumma-ktub li biha ajran, wa hutta 'anni biha wizran, wa ahdith li biha shukran, wa taqabbalha minni kama taqabbalta min 'abdika Dawuda sajdatah' (O Allah, record a reward for me in return for this (prostration), remove a burden (of sin) from me through it, bring about a new state of gratitude in me by it, and accept it from me as You accepted the prostration of Your servant Dawud (peace be upon him)). When morning came, I went to the Messenger of Allah (peace and blessings be upon him) and told him (peace and blessings be upon him) about it. He (peace and blessings be upon him) asked: 'O Abu Sa'id, did you also prostrate?' I said: No. He (peace and blessings be upon him) said: 'You were more entitled to prostrate than that tree.' Then the Messenger of Allah (peace and blessings be upon him) recited Surah Sad, and when he reached the verse of prostration, he (peace and blessings be upon him) prostrated and said in his prostration the same words that the tree had said in its prostration."
This hadith is not narrated from Sayyiduna Abu Sa'id (may Allah be pleased with him) except with this chain, and al-Yaman bin Nasr is alone in narrating it.
It is given like this (Abdullah bin Sa'd al-Madani) in the Dar al-Haramayn printed edition, whereas the correct name is (Abdullah bin Abi Sa'id al-Madani).
Hadith Referenceالمعجم الأوسط / باب العين / 4768
Hadith Gradingمحدثین:إسناده ضعيف لجهالة اليمان بن نصر
Hadith Takhrij«قال المباركفوري: اختلف في وصله وإرساله «تحفة الأحوذي شرح سنن الترمذي، ج 1، ص 402»» «قال الهيثمي: فيه اليمان بن نصر قال الذهبي مجهول «مجمع الزوائد ومنبع الفوائد، ج 2، ص 285»» «أخرجه ابن خزيمة فى «صحيحه» برقم: 1455، 1795، وابن حبان فى «صحيحه» برقم: 2765، 2799، والحاكم فى «المستدرك» برقم: 1056، 3636، 3637، وأبو داود فى «سننه» برقم: 1410، والدارمي فى «مسنده» برقم: 1507، 1595، والبيهقي فى «السنن الكبرى» برقم: 3807، 3818، والدارقطني فى «سننه» برقم: 1519، وأحمد فى «مسنده» برقم: 11920، 11978، وأبو يعلى فى «مسنده» برقم: 1069، وابن حجر فى «المطالب العالية» برقم: 554، والطحاوي فى «شرح معاني الآثار» برقم: 2130، والطحاوي فى «شرح مشكل الآثار» برقم: 2802، 2803»