Hadithcore
Riyad as-Salihin, 1424

'Ali (May Allah be pleased with him) reported:

When the Messenger of Allah (ﷺ) was in Salat (prayer), he used to supplicate towards the end of prayer after Tashahhud and before the concluding salutations: "Allahum-maghfir li ma qaddamtu wa ma akh-khartu, wa ma asrartu, wa ma a'lantu, wa ma asraftu, wa ma Anta a'lamu bihi minni. Antal-Muqqadimu, wa Antal-Mu'akh-khiru. La ilaha illa Anta (O Allah! Forgive my former and latter sins, which I have done secretly and those which I have done openly, and that I have wronged others, and those defaults of mine about which You have better knowledge than I have. You Alone can send whomever You will to Jannah, and You Alone can send whomever You will to Hell-fire. None has the right to be worshipped but You." <b>[Muslim]</b>.

وعن علي رضي الله عنه قال‏:‏ كان رسول الله صلى الله عليه وسلم إذا قام إلى الصلاة يكون من آخر ما يقول بين التشهد والتسليم‏:‏ ‏

‏اللهم اغفر لي ما قدمت وما أخرت، وما أسررت وما أعلنت، وما أسرفت، وما أنت أعلم به مني، أنت المقدم، وأنت المؤخر، لا إله إلا أنت‏

‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Book 15, Hadith 17
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) Sinning and negligence in fulfilling Allah’s rights are inevitable in humans, therefore, it is recommended for one to renew his repentance constantly.<br> 2) It is recommended to draw closer to Allah Almighty by reciting this invocation before Taslim since it is one of the comprehensive aphoristic invocations.<br> <br> <b>Benefit:</b><br> It is recommended to say whatever invocations one wishes to say before making Taslim, yet if he abides by the reported invocations, this surely involves more good and blessings since the guidance of the Prophet (may Allah’s peace and blessings be upon him) is to invoke Allah Almighty by the most concise and aphoristic wordings, as is the case with the invocations reported in the Hadiths of Sa‘d ibn Abi Waqqās, Abu Hurayrah, and ‘Ali, may Allah be pleased with them all.
Related hadiths3
Compare isnād across 3 related chains →