Hadith on Salat: The Prophet’s supplication in bowing, prostrating

Ali ibn Abi Talib reported: When the Messenger of Allah, peace and blessings be upon him, would bow in prayer, he would say, “O Allah, I have bowed for you, I have faith in you, and I humbly surrender to you, my hearing, my seeing, my living, my bones, and my limbs.” When the Prophet raised up, he would say, “O Allah, our Lord, your praise fills the heavens, the earth, what is between them and everything after that as you will.” When the Prophet prostrated, he would say, “O Allah, I have prostrated for you, I have faith in you, and I surrender to you, prostrating to the one who created it, shaped it, and formed its seeing and hearing. Blessed is Allah, the best of Creators.” Then, the Prophet would say at the end of sitting between the testimony of faith and invocation of peace, “Forgive me for what I have done and will do, in secret and in public, exceeding the limits. None knows me better than you. You are the first and the last, there is no God but You.”

Source: Ṣaḥīḥ Muslim 771

Grade: Sahih (authentic) according to Muslim

عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ كَانَ إِذَا رَكَعَ قَالَ اللَّهُمَّ لَكَ رَكَعْتُ وَبِكَ آمَنْتُ وَلَكَ أَسْلَمْتُ خَشَعَ لَكَ سَمْعِي وَبَصَرِي وَمُخِّي وَعَظْمِي وَعَصَبِي وَإِذَا رَفَعَ قَالَ اللَّهُمَّ رَبَّنَا لَكَ الْحَمْدُ مِلْءَ السَّمَاوَاتِ وَمِلْءَ الْأَرْضِ وَمِلْءَ مَا بَيْنَهُمَا وَمِلْءَ مَا شِئْتَ مِنْ شَيْءٍ بَعْدُ وَإِذَا سَجَدَ قَالَ اللَّهُمَّ لَكَ سَجَدْتُ وَبِكَ آمَنْتُ وَلَكَ أَسْلَمْتُ سَجَدَ وَجْهِي لِلَّذِي خَلَقَهُ وَصَوَّرَهُ وَشَقَّ سَمْعَهُ وَبَصَرَهُ تَبَارَكَ اللَّهُ أَحْسَنُ الْخَالِقِينَ ثُمَّ يَكُونُ مِنْ آخِرِ مَا يَقُولُ بَيْنَ التَّشَهُّدِ وَالتَّسْلِيمِ اللَّهُمَّ اغْفِرْ لِي مَا قَدَّمْتُ وَمَا أَخَّرْتُ وَمَا أَسْرَرْتُ وَمَا أَعْلَنْتُ وَمَا أَسْرَفْتُ وَمَا أَنْتَ أَعْلَمُ بِهِ مِنِّي أَنْتَ الْمُقَدِّمُ وَأَنْتَ الْمُؤَخِّرُ لَا إِلَهَ إِلَّا أَنْتَ

771 صحيح مسلم كتاب صلاة المسافرين وقصرها باب الدعاء في صلاة الليل وقيامه