عَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ فِي صِفَةِ صَلَاةِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ: فَإِذَا سَلَّمَ مِنَ الصَّلَاةِ قَالَ: ((اللَّهُمَّ اغْفِرْ لِي مَا قَدَّمْتُ وَمَا أَخَّرْتُ وَمَا أَسْرَرْتُ وَمَا أَعْلَنْتُ وَمَا أَسْرَفْتُ، وَمَا أَنْتَ أَعْلَمُ بِهِ مِنِّي، أَنْتَ الْمُقَدِّمُ وَأَنْتَ الْمُؤَخِّرُ، لَا إِلَهَ إِلَّا أَنْتَ))
Sayyiduna Ali (may Allah be pleased with him), describing the way the Messenger of Allah (peace and blessings be upon him) performed prayer, says: When the Messenger of Allah (peace and blessings be upon him) finished the prayer with salam, he would recite this supplication: "O Allah! Forgive me for what I have sent forth and what I have delayed, what I have done secretly and what I have done openly, what I have exceeded in, and what You know better than I do. You are the One who brings forward and You are the One who delays. There is no deity worthy of worship except You." (O Allah! Forgive for me those (sins) which I committed earlier and those which I committed later, and those which I committed secretly and those which I committed openly, and those in which I exceeded, and those which You know better than I do. You are the One who brings forward and You are the One who delays. There is no true deity except You.)