Lady Umm Salamah, may Allah be pleased with her, says that the Prophet, peace and blessings be upon him, used to frequently recite this supplication before his passing: «سُبْحَانَكَاللّٰهُمَّوَبِحَمْدِكَأَسْتَغْفِرُكَوَأَتُوبُإِلَيْكَ» "O Allah! You are pure, and with Your praise, I seek Your forgiveness and turn to You in repentance." Lady Umm Salamah, may Allah be pleased with her, says, I said: O Messenger of Allah! I see you reciting this supplication often, so the Prophet, peace and blessings be upon him, said: "I have been given a command (because of which I recite this)." Then the Prophet, peace and blessings be upon him, recited: ﴿إِذَاجَاءَنَصْرُاللّٰهِوَالْفَتْحُ﴾ "When the help of Allah comes and the victory as well."
Hadith Referenceمعجم صغير للطبراني / كتاب التوبة و الإستغفار / 1072
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«إسناده صحيح ، وأخرجه الطبراني فى «الأوسط» برقم: 4734، والطبراني فى «الصغير» برقم: 677 ، وله شواهد من حديث عائشة بنت أبى بكر الصديق، فأما حديث عائشة بنت أبى بكر الصديق، أخرجه البخاري فى «صحيحه» برقم: 4967، ومسلم فى «صحيحه» برقم: 484، أحمد فى «مسنده» برقم: 24699، وابن حبان فى «صحيحه» برقم: 6411 قال الهيثمي: رجاله رجال الصحيح ، مجمع الزوائد ومنبع الفوائد: (10 / 142)»