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 if I were under a tree, and that tree was reciting Surah Sad [Surah Sad: 1]. Then, when it reached the verse of prostration, it prostrated and made this supplication in its prostration: 'Allahumma ighfir li biha dhanban, Allahumma hutta 'anni biha wizran, wa ahdith li biha shukran, wa taqabbalha minni kama taqabbalta min 'abdika Dawuda sajdatahu' "O Allah, by means of this prostration forgive me a sin; O Allah, through it remove a burden from me; by its blessing create in me gratitude; and accept it from me just as You accepted the prostration of Your servant Dawud (peace be upon him)." In the morning I came to the Messenger of Allah (peace and blessings be upon him) and informed him of 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 deserving of prostrating than that tree." Then the Messenger of Allah (peace and blessings be upon him) himself recited Surah Sad, and when he reached the verse of prostration he prostrated, and in his prostration he said the same words that the tree had said in its prostration.
Imam Abu Ya'la recorded it in his Musnad (554). There is criticism of its chain; however, the basis of this supplication is established in Sunan al-Tirmidhi (3424) and Sunan Ibn Majah (1053) through a reliable narration of Sayyiduna Ibn Abbas (may Allah be pleased with them both), which strengthens its meaning.
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / صفة الصلاة / 554
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :صحيح لذاته. » «أخرجه مسند أحمد برقم: 11390، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 1780»