Prayer guide

How to Pray (Salah)

A step-by-step guide with Arabic recitations, meaning, regular Sunnah prayers and source links.

Authentic Hadith

Learn the prayer from the Prophet’s example

صَلُّوا كَمَا رَأَيْتُمُونِي أُصَلِّي

The Prophet ﷺ instructed the Muslims to pray in the way they had seen him pray. This guide therefore follows authenticated descriptions of the prayer and links the evidence used for key actions.

Reference: Sahih al-Bukhari 631

Rak‘ahs

Obligatory and regular Sunnah prayers

Prayer Sunnah before Obligatory Sunnah after Source / note
Fajr 2 2 0

2 Sunnah before, then 2 obligatory rak‘ahs.

Reference: Sahih Muslim 725a; Jami‘ at-Tirmidhi 415
Dhuhr 4 4 2

A well-attested rawatib pattern is 4 Sunnah before and 2 after the 4 obligatory rak‘ahs. Other authenticated reports mention 2 before Dhuhr as well.

Reference: Jami‘ at-Tirmidhi 415; Sahih al-Bukhari 715
Asr 4 4 0

4 obligatory rak‘ahs. A voluntary prayer before Asr is reported in other narrations, but it is not part of the 12-rak‘ah rawatib set shown here.

Reference: Resident prayer count: Sahih al-Bukhari 543; additional pre-Asr prayer has separate evidence
Maghrib 0 3 2

3 obligatory rak‘ahs followed by 2 Sunnah rawatib.

Reference: Sahih al-Bukhari 543; Jami‘ at-Tirmidhi 415
Isha 0 4 2

4 obligatory rak‘ahs followed by 2 Sunnah rawatib. Witr is a separate night prayer and its legal classification differs by school.

Reference: Sahih al-Bukhari 543; Jami‘ at-Tirmidhi 415

The table shows the five daily obligatory prayers for a resident and the principal rawatib pattern. It does not list every reported voluntary prayer before or after the obligatory prayers.

1. Begin the prayer — Takbir

Face the Qibla. Stand if you are able. Begin the prayer by saying “Allāhu akbar”. Raise the hands in the established manner. Keep the movement calm and deliberate.

اللَّهُ أَكْبَرُ

Allāhu akbar.

Reference: Sahih al-Bukhari 793

2. Opening supplication

Sunnah / optional

After the opening takbir, an opening supplication may be recited. This is a Sunnah supplication, not a replacement for Al-Fatihah.

سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ، وَتَبَارَكَ اسْمُكَ، وَتَعَالَى جَدُّكَ، وَلَا إِلَهَ غَيْرُكَ

Subḥānaka Allāhumma wa biḥamdika, wa tabāraka ismuka, wa taʿālā jadduka, wa lā ilāha ghayruk.

Reference: Sunan Abi Dawud 775

Other reported supplications and recitations (2)

These are alternative reported formulas, not additional compulsory steps. Choose as appropriate.

Opening supplication — forgiveness long
اللَّهُمَّ بَاعِدْ بَيْنِي وَبَيْنَ خَطَايَايَ كَمَا بَاعَدْتَ بَيْنَ الْمَشْرِقِ وَالْمَغْرِبِ، اللَّهُمَّ نَقِّنِي مِنْ خَطَايَايَ كَمَا يُنَقَّى الثَّوْبُ الْأَبْيَضُ مِنَ الدَّنَسِ، اللَّهُمَّ اغْسِلْنِي مِنْ خَطَايَايَ بِالثَّلْجِ وَالْمَاءِ وَالْبَرَدِ

Allāhumma bāʿid baynī wa bayna khaṭāyāya kamā bāʿadta bayna l-mashriqi wa l-maghrib. Allāhumma naqqinī min khaṭāyāya kamā yunaqqā th-thawbu l-abyaḍu mina d-danas. Allāhumma-ghsilnī min khaṭāyāya bi-th-thalji wa l-māʾi wa l-barad.

O Allah, distance me from my sins as You have distanced east from west; cleanse me of my sins as a white garment is cleansed; wash them away with snow, water and hail.

Reference: Sahih Muslim 598a

Opening praise — concise short
سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ وَتَبَارَكَ اسْمُكَ وَتَعَالَى جَدُّكَ وَلَا إِلَهَ غَيْرُكَ

Subḥānaka Allāhumma wa biḥamdika, wa tabāraka ismuka, wa taʿālā jadduka, wa lā ilāha ghayruk.

Glory and praise be to You, O Allah. Blessed is Your name, exalted is Your majesty, and there is no deity besides You.

Reference: Sunan Abi Dawud 775

3. Seek refuge and begin recitation

Before reciting the Qur’an, seek refuge with Allah from Satan. Then begin the recitation with the name of Allah.

أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ

Aʿūdhu billāhi mina sh-shayṭāni r-rajīm.
Bismillāhi r-raḥmāni r-raḥīm.

Reference: Qur’an 16:98; opening recitation practice

4. Recite Al-Fatihah

Recite Surah Al-Fatihah in the prayer. The detailed ruling for a follower praying behind an imam differs between schools of Islamic law, so the site should not present one school’s detail as universal.

الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ
الرَّحْمَٰنِ الرَّحِيمِ
مَالِكِ يَوْمِ الدِّينِ
إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ
اهْدِنَا الصِّرَاطَ الْمُسْتَقِيمَ
صِرَاطَ الَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ الْمَغْضُوبِ عَلَيْهِمْ وَلَا الضَّالِّينَ

Reference: Sahih al-Bukhari 756; Qur’an 1:2–7

5. Recite another passage

In the first two rak‘ahs, recite another surah or Qur’anic passage after Al-Fatihah. Al-Ikhlas is shown only as an example; it is not required in every prayer.

قُلْ هُوَ اللَّهُ أَحَدٌ
اللَّهُ الصَّمَدُ
لَمْ يَلِدْ وَلَمْ يُولَدْ
وَلَمْ يَكُنْ لَهُ كُفُوًا أَحَدٌ

Reference: Example: Qur’an 112:1–4

6. Bow — Ruku‘

Say the takbir and bow. Remain in ruku‘ with calmness until you are settled. Say “Subḥāna rabbiyal-ʿaẓīm”.

اللَّهُ أَكْبَرُ
سُبْحَانَ رَبِّيَ الْعَظِيمِ

Allāhu akbar.
Subḥāna rabbiyal-ʿaẓīm.

Reference: Sahih al-Bukhari 793; Sunan Abi Dawud 871

Other reported supplications and recitations (2)

These are alternative reported formulas, not additional compulsory steps. Choose as appropriate.

Glorification and plea for forgiveness short
سُبْحَانَكَ اللَّهُمَّ رَبَّنَا وَبِحَمْدِكَ، اللَّهُمَّ اغْفِرْ لِي

Subḥānaka Allāhumma rabbanā wa biḥamdika, Allāhumma-ghfir lī.

Glory and praise belong to You, O Allah, our Lord. O Allah, forgive me.

Reference: Sahih al-Bukhari 777

The Most Holy short
سُبُّوحٌ قُدُّوسٌ رَبُّ الْمَلَائِكَةِ وَالرُّوحِ

Subbūḥun quddūsun rabbu l-malāʾikati wa r-rūḥ.

All-Glorious, Most Holy, Lord of the angels and the Spirit.

Reference: Sahih Muslim 487

7. Rise from ruku‘

Rise until you are standing upright and settled. The imam or one praying alone says “Samiʿa Allāhu liman ḥamidah”; then praise Allah with “Rabbanā wa laka l-ḥamd”.

سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ
رَبَّنَا وَلَكَ الْحَمْدُ

Samiʿa Allāhu liman ḥamidah.
Rabbanā wa laka l-ḥamd.

Reference: Sahih al-Bukhari / Muslim — raising from ruku‘

Other reported supplications and recitations (2)

These are alternative reported formulas, not additional compulsory steps. Choose as appropriate.

Praise after rising from bowing short
رَبَّنَا وَلَكَ الْحَمْدُ حَمْدًا كَثِيرًا طَيِّبًا مُبَارَكًا فِيهِ

Rabbanā wa laka l-ḥamdu ḥamdan kathīran ṭayyiban mubārakan fīh.

Our Lord, to You belongs much good and blessed praise.

Reference: Sahih al-Bukhari 782

Praise after bowing — shorter short
رَبَّنَا وَلَكَ الْحَمْدُ

Rabbanā wa laka l-ḥamd.

Our Lord, to You belongs all praise.

Reference: Sahih al-Bukhari 782

8. First prostration — Sujud

Say the takbir and prostrate with calmness. The hadith specifies prostration on seven body parts: the forehead with the nose, both hands, both knees and the toes of both feet. Say “Subḥāna rabbiyal-aʿlā”.

اللَّهُ أَكْبَرُ
سُبْحَانَ رَبِّيَ الْأَعْلَى

Allāhu akbar.
Subḥāna rabbiyal-aʿlā.

Reference: Sahih al-Bukhari 812; Sunan Abi Dawud 871

Other reported supplications and recitations (3)

These are alternative reported formulas, not additional compulsory steps. Choose as appropriate.

Ask forgiveness for all sins short
اللَّهُمَّ اغْفِرْ لِي ذَنْبِي كُلَّهُ دِقَّهُ وَجِلَّهُ، وَأَوَّلَهُ وَآخِرَهُ، وَعَلَانِيَتَهُ وَسِرَّهُ

Allāhumma-ghfir lī dhanbī kullahu, diqqahu wa jillahu, wa awwalahu wa ākhirahu, wa ʿalāniyatahu wa sirrahu.

O Allah, forgive all my sins: small and great, first and last, open and hidden.

Reference: Sahih Muslim 483

Glorification and forgiveness short
سُبْحَانَكَ اللَّهُمَّ رَبَّنَا وَبِحَمْدِكَ، اللَّهُمَّ اغْفِرْ لِي

Subḥānaka Allāhumma rabbanā wa biḥamdika, Allāhumma-ghfir lī.

Glory and praise belong to You, O Allah, our Lord. O Allah, forgive me.

Reference: Sahih al-Bukhari 777

Seeking refuge in Allah long
اللَّهُمَّ أَعُوذُ بِرِضَاكَ مِنْ سَخَطِكَ وَبِمُعَافَاتِكَ مِنْ عُقُوبَتِكَ وَأَعُوذُ بِكَ مِنْكَ لَا أُحْصِي ثَنَاءً عَلَيْكَ أَنْتَ كَمَا أَثْنَيْتَ عَلَى نَفْسِكَ

Allāhumma aʿūdhu bi-riḍāka min sakhaṭika wa bi-muʿāfātika min ʿuqūbatika wa aʿūdhu bika minka, lā uḥṣī thanāʾan ʿalayka, anta kamā athnayta ʿalā nafsika.

O Allah, I seek refuge in Your pleasure from Your anger, in Your pardon from Your punishment, and in You from You. I cannot fully praise You; You are as You have praised Yourself.

Reference: Sahih Muslim 486

9. Sit between the two prostrations

Rise from prostration and sit calmly until you are settled. One authenticated supplication is: “My Lord, forgive me; my Lord, forgive me.”

رَبِّ اغْفِرْ لِي، رَبِّ اغْفِرْ لِي

Rabbi-ghfir lī, Rabbi-ghfir lī.

Reference: Sunan Ibn Majah 897 — graded Sahih

Other reported supplications and recitations (2)

These are alternative reported formulas, not additional compulsory steps. Choose as appropriate.

Prayer for forgiveness short
رَبِّ اغْفِرْ لِي

Rabbi-ghfir lī.

My Lord, forgive me.

Reference: Sunan Ibn Majah 897

Longer plea for mercy and guidance long
اللَّهُمَّ اغْفِرْ لِي وَارْحَمْنِي وَعَافِنِي وَاهْدِنِي وَارْزُقْنِي

Allāhumma-ghfir lī wa-rḥamnī wa-ʿāfinī wa-hdinī wa-rzuqnī.

O Allah, forgive me, have mercy on me, grant me well-being, guide me and provide for me.

Reference: Sunan Abi Dawud 850

10. Second prostration

Perform the second prostration with the same calmness. This completes one rak‘ah. Then stand for the next rak‘ah when the prayer continues.

اللَّهُ أَكْبَرُ
سُبْحَانَ رَبِّيَ الْأَعْلَى

Allāhu akbar.
Subḥāna rabbiyal-aʿlā.

Reference: Sahih al-Bukhari 793; Sunan Abi Dawud 871

Other reported supplications and recitations (3)

These are alternative reported formulas, not additional compulsory steps. Choose as appropriate.

Ask forgiveness for all sins short
اللَّهُمَّ اغْفِرْ لِي ذَنْبِي كُلَّهُ دِقَّهُ وَجِلَّهُ، وَأَوَّلَهُ وَآخِرَهُ، وَعَلَانِيَتَهُ وَسِرَّهُ

Allāhumma-ghfir lī dhanbī kullahu, diqqahu wa jillahu, wa awwalahu wa ākhirahu, wa ʿalāniyatahu wa sirrahu.

O Allah, forgive all my sins: small and great, first and last, open and hidden.

Reference: Sahih Muslim 483

Glorification and forgiveness short
سُبْحَانَكَ اللَّهُمَّ رَبَّنَا وَبِحَمْدِكَ، اللَّهُمَّ اغْفِرْ لِي

Subḥānaka Allāhumma rabbanā wa biḥamdika, Allāhumma-ghfir lī.

Glory and praise belong to You, O Allah, our Lord. O Allah, forgive me.

Reference: Sahih al-Bukhari 777

Seeking refuge in Allah long
اللَّهُمَّ أَعُوذُ بِرِضَاكَ مِنْ سَخَطِكَ وَبِمُعَافَاتِكَ مِنْ عُقُوبَتِكَ وَأَعُوذُ بِكَ مِنْكَ لَا أُحْصِي ثَنَاءً عَلَيْكَ أَنْتَ كَمَا أَثْنَيْتَ عَلَى نَفْسِكَ

Allāhumma aʿūdhu bi-riḍāka min sakhaṭika wa bi-muʿāfātika min ʿuqūbatika wa aʿūdhu bika minka, lā uḥṣī thanāʾan ʿalayka, anta kamā athnayta ʿalā nafsika.

O Allah, I seek refuge in Your pleasure from Your anger, in Your pardon from Your punishment, and in You from You. I cannot fully praise You; You are as You have praised Yourself.

Reference: Sahih Muslim 486

11. Tashahhud

After two rak‘ahs, sit for the tashahhud. In the final sitting, recite the tashahhud before completing the prayer.

التَّحِيَّاتُ لِلَّهِ وَالصَّلَوَاتُ وَالطَّيِّبَاتُ، السَّلَامُ عَلَيْكَ أَيُّهَا النَّبِيُّ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ، السَّلَامُ عَلَيْنَا وَعَلَى عِبَادِ اللَّهِ الصَّالِحِينَ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ، وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ

Reference: Sahih al-Bukhari 831

12. Send blessings upon the Prophet ﷺ

In the final sitting, send blessings upon the Prophet ﷺ using an authenticated wording.

اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ، كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ
اللَّهُمَّ بَارِكْ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ، كَمَا بَارَكْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ

Reference: Sahih al-Bukhari 6358

13. Finish with Taslim

Complete the prayer with taslim. Turn the head to the right and then to the left in the established manner, saying the greeting of peace.

السَّلَامُ عَلَيْكُمْ وَرَحْمَةُ اللَّهِ

As-salāmu ʿalaykum wa raḥmatullāh.

Reference: Sahih al-Bukhari 837; Bukhari 401

Obligatory elements

Core obligatory elements of the prayer

Common Sunni core elements include: intention; the opening takbir; standing in an obligatory prayer when able; Qur’anic recitation including Al-Fatihah according to the applicable school’s ruling; ruku‘; rising and standing upright after ruku‘; two prostrations; sitting between the two prostrations; calmness in the postures; maintaining the required order; the final sitting and completion of the prayer with taslim. Details of classification and some follower/imam rules differ between the Hanafi, Maliki, Shafi‘i and Hanbali schools. This page therefore marks the common core and does not label every disputed detail as universally obligatory.

Reference: Sahih al-Bukhari 793 — calmness and sequence

Reference: Sahih al-Bukhari 756 — Al-Fatihah

Reference: Sahih al-Bukhari 812 — seven points of prostration

Reference: Sahih al-Bukhari 1117 — standing when able

Methodology note: the detailed classification of farḍ, wājib, rukn and Sunnah differs between schools of Islamic law. This guide presents the common core with evidence; it does not replace learning the detailed rulings of a particular madhhab.