How to Pray in Islam: Salah Step by Step, and Where the Schools Differ
Salah step by step through the two-rak'ah Fajr prayer, with the Arabic, transliteration and translation of every recitation, what changes in three- and four-rak'ah prayers, the rak'ahs of each prayer, and where the Hanafi, Maliki, Shafi'i and Hanbali schools differ.

To pray in Islam, you stand facing the qibla, open with Allahu akbar, recite al-Fatiha, bow, stand up again and prostrate twice. That cycle is one rak'ah. Fajr has two obligatory rak'ahs, Dhuhr four, Asr four, Maghrib three and Isha four; you sit for the tashahhud after the second rak'ah and at the end, and every prayer closes with the salam (Sahih Muslim 498). Below is the two-rak'ah Fajr prayer step by step, with the Arabic of each recitation, what changes in the longer prayers, and where the Hanafi, Maliki, Shafi'i and Hanbali schools differ.
Key takeaways
- Every rak'ah has the same core: standing and reciting al-Fatiha, bowing, rising and two prostrations. Fajr has 2 obligatory rak'ahs, Dhuhr 4, Asr 4, Maghrib 3 and Isha 4.
- All four schools have pillars and sunnahs. Only the Hanafi and Hanbali schools add required (wajib) acts, which the prostration of forgetfulness makes up if you forget one.
- Hand placement, raising the hands when bowing, saying amin and the Bismillah aloud, and how you sit differ by school; each step names the positions.
- If you know none of the Quran yet, al-Shafi'i and Ahmad held that you praise Allah in place of the recitation; a hadith in Sunan Abi Dawud, graded hasan, teaches five such phrases.
- On the steps in this guide, the Hanafi school records three differences for women: hand height at the opening takbir, where the hands rest, and how she sits.
Before you pray
The Prophet ﷺ told his Companions to "pray as you have seen me praying" (Sahih al-Bukhari 631). The Kuwaiti Encyclopedia of Islamic Jurisprudence (cited below by volume and page) lists the conditions of a valid prayer: body, clothing and place free of impurity, ritual purity, covering the body as required, facing the qibla, and knowing that the prayer's time has begun (27/59).
- Wudu. See the wudu steps and what breaks wudu.
- Time. Check the prayer times for your city.
- Qibla. Face the Kaaba in Mecca; here is how to find the qibla direction.
- Intention. Intend in your heart the prayer you are about to pray; the heart is the place of intention in the Hanafi, Shafi'i and Hanbali schools and in Imam Malik's view (42/65). Saying it aloud too is a sunnah in the chosen Hanafi view and in the Shafi'i and Hanbali schools; the Malikis allow it but prefer leaving it (42/67).
How to pray two rak'ahs, step by step
The model is Fajr, the dawn prayer. Each step gives the schools' classification where the encyclopedia states it: a pillar (rukn), without which the prayer does not count; a required act (wajib), a category only the Hanafi and Hanbali schools use (27/75); or a sunnah.
1. Stand and say the opening takbir
Stand facing the qibla, raise your hands and say:
اللَّهُ أَكْبَرُ
Transliteration: Allahu akbar.
Translation: Allah is the Greatest.
Sunan Ibn Majah 803 (sahih, Darussalam)
Standing is a pillar of an obligatory prayer for anyone able to stand (27/63, 27/72). The opening takbir is a pillar in the Maliki, Shafi'i and Hanbali schools (27/63) and a condition of the prayer in the Hanafi school (27/75). The jurists agree that raising the hands with it is a sunnah (27/84). Ibn Umar saw the Prophet ﷺ raise them level with his shoulders (Sahih al-Bukhari 735), the height in the Maliki (well-known view), Shafi'i and Hanbali schools; Hanafi men raise them to the ears (27/84–85).
2. Place your hands
Wa'il ibn Hujr saw the Prophet ﷺ place his right hand over his left after the takbir (Sahih Muslim 401).
- Hanafi, Shafi'i, Hanbali: holding the right hand over the left is a sunnah (27/86). Hanafi men and Hanbalis place the hands below the navel; Shafi'is, below the chest and above the navel (27/87).
- Maliki: in an obligatory prayer, letting the arms hang at the sides (irsal) is recommended and holding the hands is disliked; in voluntary prayers, holding them is permitted (27/86).
3. Say the opening supplication
The opening supplication (du'a al-istiftah) is a sunnah in the Hanafi, Shafi'i and Hanbali schools and disliked in the Maliki school (27/88). Aisha reported this wording:
سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ وَتَبَارَكَ اسْمُكَ وَتَعَالَى جَدُّكَ وَلاَ إِلَهَ غَيْرُكَ
Transliteration: Subhanakallahumma wa bihamdika, wa tabarakasmuka, wa ta'ala jadduka, wa la ilaha ghayruk.
Translation: Glory be to You, O Allah, and with Your praise. Blessed is Your name, exalted is Your majesty, and there is no god but You.
Sunan Abi Dawud 776 (sahih, al-Albani)
A longer one, Allahumma ba'id bayni wa bayna khatayaya ("O Allah, put distance between me and my sins"), is in Sahih al-Bukhari 744.
4. Seek refuge, then say Bismillah
Say A'udhu billahi minash-shaytanir-rajim ("I seek refuge in Allah from Satan, the outcast"), following the command to seek refuge before reciting the Quran (Quran 16:98). The Hanafi, Shafi'i and Hanbali schools count it a sunnah; the Maliki school dislikes it in obligatory prayers (27/89). The Bismillah (Bismillahir-Rahmanir-Rahim) divides the schools more sharply:
- Hanafi: a sunnah, said silently at the start of al-Fatiha in every rak'ah (8/86).
- Maliki: disliked before al-Fatiha or the surah in an obligatory prayer (8/87).
- Shafi'i: a verse of al-Fatiha that must be recited in every rak'ah, in the school's more apparent view (8/87), aloud in the prayers recited aloud (16/182).
- Hanbali: not a verse of al-Fatiha and not obligatory, in the more correct view (8/88); said silently, as Hanafis do, even in prayers recited aloud (16/181).
5. Recite al-Fatiha, say amin, then a surah
The Prophet ﷺ said there is no prayer for the one who does not recite al-Fatiha (Sahih al-Bukhari 756). It is a pillar in every rak'ah in the Maliki, Shafi'i and Hanbali schools (27/64); the Hanafi school makes it required rather than a pillar, its pillar being some recitation of the Quran (27/73, 27/75). The text follows the standard mushaf, where the Bismillah is verse 1.
بِسْمِ ٱللَّهِ ٱلرَّحْمَـٰنِ ٱلرَّحِيمِ ١ ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَـٰلَمِينَ ٢ ٱلرَّحْمَـٰنِ ٱلرَّحِيمِ ٣ مَـٰلِكِ يَوْمِ ٱلدِّينِ ٤ إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ ٥ ٱهْدِنَا ٱلصِّرَٰطَ ٱلْمُسْتَقِيمَ ٦ صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ ٱلْمَغْضُوبِ عَلَيْهِمْ وَلَا ٱلضَّآلِّينَ ٧
Transliteration: (1) Bismillahir-Rahmanir-Rahim. (2) Al-hamdu lillahi Rabbil-'alamin. (3) Ar-Rahmanir-Rahim. (4) Maliki yawmid-din. (5) Iyyaka na'budu wa iyyaka nasta'in. (6) Ihdinas-siratal-mustaqim. (7) Siratal-ladhina an'amta 'alayhim, ghayril-maghdubi 'alayhim wa lad-dallin.
Translation (Muhammad Taqi Usmani): (1) With the name of Allah, the All-Merciful, the Very-Merciful. (2) Praise belongs to Allah, the Lord of all the worlds. (3) the All-Merciful, the Very Merciful. (4) the Master of the Day of Requital. (5) You alone do we worship, and from You alone do we seek help. (6) Take us on the straight path. (7) the path of those on whom You have bestowed Your Grace, not of those who have incurred Your wrath, nor of those who have gone astray.
Then say amin ("O Allah, answer"), recorded as a sunnah for everyone praying, except that the Maliki school does not recommend it for an imam in a prayer recited aloud. Hanafis and Malikis say it silently, Shafi'is and Hanbalis aloud in the prayers recited aloud, such as Fajr (27/91–92).
Next, recite a surah or a few verses, such as Al-Ikhlas or Al-Kawthar. This is a sunnah in the Maliki, Shafi'i and Hanbali schools and required in the Hanafi school in the first two rak'ahs of an obligatory prayer, at least a short surah or three short verses (27/76; 33/48). Fajr is recited aloud (see the table below).
6. Bow (ruku')
Say Allahu akbar and bow, palms on your knees and back level, as Abu Humayd described the Prophet ﷺ (Sunan Abi Dawud 730, sahih per al-Albani). Bowing is a pillar in all four schools (27/64, 27/73). The takbirs between positions are a sunnah in the Hanafi, Maliki and Shafi'i schools and required in the Hanbali school (27/92, 27/81).
سُبْحَانَ رَبِّيَ الْعَظِيمِ
Transliteration: Subhana Rabbiyal-'Azim.
Translation: Glory be to my Lord, the Magnificent.
Hudhayfah heard the Prophet ﷺ say this in his bowing; in the Hanbali school, saying it once is required (27/82). Do not rush: the Prophet ﷺ sent a man who prayed hurriedly back to pray again and taught him to bow until he was at rest (Sahih al-Bukhari 757).
7. Rise from bowing
Say the first phrase as you rise and the second once you stand upright (27/92). Abu Hurayrah reported the Prophet ﷺ saying:
سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ
اللَّهُمَّ رَبَّنَا وَلَكَ الْحَمْدُ
Transliteration: Sami'a Allahu liman hamidah. Allahumma Rabbana wa lakal-hamd.
Translation: Allah hears the one who praises Him. O Allah, our Lord, and to You belongs all praise.
- Hanafi, Shafi'i: both phrases are a sunnah (27/92).
- Maliki: the first is a sunnah and the second recommended; someone praying alone says both (27/92–93).
- Hanbali: both are required for someone praying alone (27/81–82).
Ibn Umar also saw the Prophet ﷺ raise his hands when bowing and when rising from it (Bukhari 735). The Shafi'i and Hanbali schools count this a sunnah; the Hanafi and Maliki schools raise the hands only at the opening takbir (27/95).
8. Prostrate twice, sitting between
Say Allahu akbar and go down. The Hanafi, Shafi'i and Hanbali schools place the knees first, then the hands, then the forehead and nose; the Maliki school places the hands before the knees (27/96). Prostrate on the forehead with the nose, both hands, both knees and the toes of both feet, turned toward the qibla (27/97). Prostration is a pillar in all four schools (27/66, 27/73).
سُبْحَانَ رَبِّيَ الأَعْلَى
Transliteration: Subhana Rabbiyal-A'la.
Translation: Glory be to my Lord, the Most High.
Sahih Muslim 772
In the Hanbali school, saying it once is required (27/82). Say Allahu akbar and sit up; Abu Humayd describes the Prophet ﷺ sitting on his left foot here (Abu Dawud 730). Between the two prostrations, Hudhayfah heard him say:
رَبِّ اغْفِرْ لِي رَبِّ اغْفِرْ لِي
Transliteration: Rabbighfir li, Rabbighfir li.
Translation: My Lord, forgive me. My Lord, forgive me.
Sunan Abi Dawud 874 (sahih, al-Albani)
Saying it once is required in the Hanbali school (27/82). Then say Allahu akbar and make the second prostration like the first.
9. Stand for the second rak'ah
Say Allahu akbar and stand. A brief sitting before standing (jalsat al-istirahah) is a sunnah in the Shafi'i school and mildly disliked in the Hanafi, Maliki and Hanbali schools for someone with no need of it (27/100). Recite al-Fatiha (with the Bismillah as your school holds), amin and a surah, then bow, rise and prostrate twice as before.
The Shafi'i school adds qunoot, a supplication said standing in the second rak'ah of Fajr, as a sunnah, which al-Nawawi calls emphasized (34/59), and the Maliki school recommends it (34/58); the Hanafi and Hanbali schools do not say it in Fajr (34/58). The texts are in dua qunoot.
10. Sit for the tashahhud
After the second rak'ah's second prostration, sit. In iftirash, you sit on your left foot laid flat, the right foot upright on its toes toward the qibla (27/99). In tawarruk, you put the left foot forward, keep the right foot upright and sit on the floor; Abu Humayd saw the Prophet ﷺ sit on his left foot after two rak'ahs and in tawarruk in the last rak'ah (Sahih al-Bukhari 828).
- Hanafi: men sit in iftirash, women in tawarruk (27/99).
- Maliki: tawarruk in every sitting (27/99).
- Shafi'i and Hanbali: tawarruk in the final tashahhud of a three- or four-rak'ah prayer, iftirash in the others (27/99; 14/148). Shafi'is also use tawarruk in Fajr's single tashahhud (14/149).
Recite the tashahhud quietly; the Hanbali scholar Ibn Qudamah knew of no disagreement on that (12/38). This is the wording Abdullah ibn Mas'ud learned from the Prophet ﷺ, who said the greeting to "the righteous servants of Allah" reaches every righteous servant in the heavens and on earth (Sahih al-Bukhari 831):
التَّحِيَّاتُ لِلَّهِ وَالصَّلَوَاتُ وَالطَّيِّبَاتُ السَّلاَمُ عَلَيْكَ أَيُّهَا النَّبِيُّ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ السَّلاَمُ عَلَيْنَا وَعَلَى عِبَادِ اللَّهِ الصَّالِحِينَ
أَشْهَدُ أَنْ لاَ إِلَهَ إِلاَّ اللَّهُ وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ
Transliteration: At-tahiyyatu lillahi was-salawatu wat-tayyibat. As-salamu 'alayka ayyuhan-Nabiyyu wa rahmatullahi wa barakatuh. As-salamu 'alayna wa 'ala 'ibadillahis-salihin. Ashhadu an la ilaha illallah, wa ashhadu anna Muhammadan 'abduhu wa rasuluh.
Translation: All greetings of honor, all prayers and all good things belong to Allah. Peace be upon you, O Prophet, and the mercy of Allah and His blessings. Peace be upon us and upon the righteous servants of Allah. I bear witness that there is no god but Allah, and I bear witness that Muhammad is His servant and His Messenger.
The Hanafi and Hanbali schools prefer Ibn Mas'ud's wording (12/35), the Shafi'i school that of Ibn Abbas, which begins at-tahiyyatul-mubarakat (Sahih Muslim 403a), and the Maliki school that taught by Umar ibn al-Khattab (12/36). The final tashahhud is a pillar in the Shafi'i and Hanbali schools (27/69) and required in the Hanafi school (27/79), whose pillars include the final sitting for the length of the tashahhud. In the Maliki school, the pillar is the sitting for the salam; the tashahhud itself is a sunnah (27/69–70).
11. Send blessings on the Prophet ﷺ
Still seated, say the blessing the Prophet ﷺ taught Ka'b ibn Ujrah and his companions:
اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ، وَعَلَى آلِ مُحَمَّدٍ، كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ، وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ، اللَّهُمَّ بَارِكْ عَلَى مُحَمَّدٍ، وَعَلَى آلِ مُحَمَّدٍ، كَمَا بَارَكْتَ عَلَى إِبْرَاهِيمَ، وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ
Transliteration: Allahumma salli 'ala Muhammadin wa 'ala ali Muhammad, kama sallayta 'ala Ibrahima wa 'ala ali Ibrahim, innaka Hamidun Majid. Allahumma barik 'ala Muhammadin wa 'ala ali Muhammad, kama barakta 'ala Ibrahima wa 'ala ali Ibrahim, innaka Hamidun Majid.
Translation: O Allah, send Your prayers upon Muhammad and upon the family of Muhammad, as You sent Your prayers upon Ibrahim and upon the family of Ibrahim; You are Praiseworthy, Glorious. O Allah, bless Muhammad and the family of Muhammad, as You blessed Ibrahim and the family of Ibrahim; You are Praiseworthy, Glorious.
This is a pillar in the Shafi'i and Hanbali schools (27/70) and a sunnah in the Hanafi and Maliki schools (27/97).
12. End with the salam
Turn your head to the right and say the salam, then to the left. Ibn Mas'ud saw the Prophet ﷺ turn until the whiteness of his cheek showed, saying:
السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللَّهِ
Transliteration: As-salamu 'alaykum wa rahmatullah.
Translation: Peace be upon you, and the mercy of Allah.
Sunan Abi Dawud 996 (sahih, al-Albani)
- Maliki, Shafi'i: one salam fulfils the obligation (27/71, 27/101).
- Hanbali: both salams are obligatory (27/71, 27/101).
- Hanafi: both salams are required (wajib) rather than pillars, and the required part is the word as-salam (27/79–80, 27/101).
That completes Fajr. Voluntary prayers follow the same two-rak'ah pattern, including the prayer before the istikhara dua; for the voluntary prayer at night, see how to pray tahajjud.
Three and four rak'ahs: what changes
- A first tashahhud after two rak'ahs. Sit after the second rak'ah, recite the tashahhud (step 10), then say Allahu akbar and stand. This sitting is required in the Hanafi school (27/79) and a sunnah in the Maliki and Shafi'i schools (27/97). For the Hanbali school the encyclopedia lists it as required in its entry on prayer (27/83) but as a sunnah in its entry on the tashahhud (12/38). When the Prophet ﷺ once stood up without sitting, he made two prostrations of forgetfulness before the salam (Sahih al-Bukhari 1224). If you stand up by mistake and remember before you are fully upright, go back and sit; once fully upright, carry on and make the prostration of forgetfulness. This is the position of the Hanafi, Maliki, Shafi'i and Hanbali schools (24/244).
- Raising the hands for the third rak'ah. The Shafi'i school recommends it, as does one narration from Imam Ahmad; the Hanbali school's position is not to, and the Hanafi and Maliki schools raise the hands only at the opening takbir (27/95).
- Al-Fatiha alone, silently. The Prophet ﷺ recited al-Fatiha and a surah in the first two rak'ahs of Dhuhr and only al-Fatiha in the last two, and did the same in Asr (Sahih al-Bukhari 776). Al-Fatiha remains a pillar in every rak'ah for the Maliki, Shafi'i and Hanbali schools (27/64); the Hanafi school requires the recitation in the first two rak'ahs specifically (27/76). Only the first two rak'ahs of Maghrib and Isha are recited aloud (33/50).
- The final sitting. After the last rak'ah, complete steps 10 to 12. Shafi'is and Hanbalis sit in tawarruk here (27/99).
How many rak'ahs are in each prayer?
| Prayer | Obligatory rak'ahs | Recited aloud in |
|---|---|---|
| Fajr | 2 | Both rak'ahs |
| Dhuhr | 4 | None (silent) |
| Asr | 4 | None (silent) |
| Maghrib | 3 | The first two |
| Isha | 4 | The first two |
Sources: 27/309 and 27/280 (rak'ahs); 33/50 (recitation aloud, which also covers the Friday prayer). Khabbab said the Companions knew the Prophet ﷺ was reciting in Dhuhr and Asr from the movement of his beard (Sahih al-Bukhari 746).
The voluntary sunnah rak'ahs around each prayer are counted differently. Ibn Umar memorized ten from the Prophet ﷺ: two before and two after Dhuhr, two after Maghrib, two after Isha and two before Fajr (Sahih al-Bukhari 1180). The Hanafi school counts twelve emphasized rak'ahs, following a report from Aisha with four before Dhuhr; the encyclopedia also records the count of ten and weaker counts within the schools (22/44–45).
What is required, and what if you make a mistake?
A pillar has to be performed for the prayer to count. In the Hanafi and Hanbali schools, a required act that you forget is made up with the prostration of forgetfulness (sujud al-sahw), two prostrations at the end of the prayer (27/80, 27/83). That prostration is itself required in the Hanafi school and the preferred Hanbali view, and a sunnah in the well-known Maliki view and the Shafi'i school (24/234). Hanafis make it after the salam; Malikis before the salam for something left out and after it for something added; Shafi'is, in the school's more apparent view, and Hanbalis, with two exceptions, before the salam (24/238–239).
If you are unsure how many rak'ahs you have prayed, the Prophet ﷺ said to set the doubt aside, build on what you are certain of, and make two prostrations (Sunan Abi Dawud 1024, hasan sahih per al-Albani). The Maliki and Shafi'i schools, and one Hanbali narration, take the lower number (24/235). The Hanafi texts restart the prayer at a first such doubt, follow your strongest impression if doubt is frequent, and take the lower number if you have none (24/235–236).
If you don't know the Arabic yet
Start with al-Fatiha, a pillar in the Maliki, Shafi'i and Hanbali schools and required in the Hanafi school (27/64, 27/75). A man told the Prophet ﷺ he could not learn anything of the Quran and asked for something that would be enough, and was taught:
سُبْحَانَ اللَّهِ وَالْحَمْدُ لِلَّهِ وَلاَ إِلَهَ إِلاَّ اللَّهُ وَاللَّهُ أَكْبَرُ وَلاَ حَوْلَ وَلاَ قُوَّةَ إِلاَّ بِاللَّهِ
Transliteration: Subhanallah, wal-hamdu lillah, wa la ilaha illallah, wallahu akbar, wa la hawla wa la quwwata illa billah.
Translation: Glory be to Allah, praise be to Allah, there is no god but Allah, Allah is the Greatest, and there is no power and no strength except through Allah.
Sunan Abi Dawud 832 (hasan, al-Albani)
For someone who knows none of the Quran, al-Shafi'i, Ahmad ibn Hanbal and some Malikis held that he prays and, in place of the recitation, praises Allah, declares that there is no god but Him and proclaims His greatness. Abu Hanifa and some Malikis held that he prays without reciting anything, neither Quran nor dhikr (6/270).
Learn with a teacher or at a mosque, reciting al-Fatiha to someone who can correct you. See praying at an unfamiliar mosque, and, if no one at home prays, building a first salah routine on your own. Muslim App, a prayer times, Quran and duas app for iOS and Android, has an Islamic Guide that covers "Wudu, ghusl, and how to pray, with step-by-step visual instructions".
Do men and women pray differently?
The steps are the same for men and women. Among these steps, the Hanafi school records three differences for a woman: she raises her hands to her shoulders for the opening takbir, where a man raises them to his ears (27/84); she places her hands on her chest, where a man places them below the navel (27/87); and she sits in tawarruk, where a man sits in iftirash (27/99). This guide does not cover the other schools' rulings for women.
Frequently asked questions
Not for the Quran recitation, if you can recite Arabic. The Kuwaiti Encyclopedia, citing Shafi'i and Hanbali works, says the Quran may not be recited in translation in prayer even by someone who cannot recite Arabic (33/54–55); the Hanafi fatwa follows Abu Yusuf and Muhammad, who did not allow it for someone able to. Someone who knows none of the Quran yet praises Allah instead, in the view of al-Shafi'i and Ahmad (6/270).
About the author

Muslim App Editorial Team writes practical guides on prayer, building a consistent salah habit, and Muslim life at work and on the road. Where an article touches on religious rulings, it gives its sources and, where scholars or the four Sunni schools differ, says so rather than presenting one view as the only one; questions that depend on your situation are left to a qualified scholar. Our articles are not fatwas.


