← Back

Learn · Worship

How to
pray.

The prayer looks complicated from the outside, but it is a short sequence of positions and words that repeats. Learn one unit, and you have learnt them all.

On this page

You can start praying before you know all of this. While you are learning, follow the movements and say what you can – see praying before you know the words. Praying behind an imam at a mosque is also one of the easiest ways to learn, because you simply follow.

Learn it in stages

You don’t need to learn everything on this page at once. Many teachers suggest building up like this – praying all the while:

  1. Stage 1 – the shape of one rakʿah. Learn the movements: standing, bowing, rising, two prostrations. Say Allāhu akbar as you move, recite al-Fātiḥah (until you know it, see what to say before you know al-Fātiḥah; the schools differ), and use one rakʿah, step by step below.
  2. Stage 2 – the words of bowing and prostration. Add Subḥāna rabbiya-l-ʿaẓīm and Subḥāna rabbiya-l-aʿlā. They are short and repeat in every rakʿah.
  3. Stage 3 – a short sūrah after al-Fātiḥah, such as al-Ikhlāṣ, and the words when rising from bowing.
  4. Stage 4 – the sitting: the tashahhud, then the blessings on the Prophet ﷺ and the salām. Now you can pray a complete Fajr.
  5. Stage 5 – three and four rakʿahs. Use putting it together to see how Maghrib, Dhuhr, ʿAsr and ʿIshāʾ are built from the same pieces.

This is how the prayer has always been taught: by showing. The Prophet ﷺ told a group of young men going home to teach their families, “Pray as you have seen me praying” (Ṣaḥīḥ al-Bukhārī 631). Once he even led the prayer standing on the pulpit, coming down to prostrate, and then said: “I have done this so that you may follow me and learn the way I pray” (Ṣaḥīḥ al-Bukhārī 917).

Spend as long as you need on each stage. Praying with others at a mosque, and asking someone to watch you pray once and gently correct you, will speed things up more than reading.

The five daily prayers

Each prayer is made up of units called rakʿahs:

Prayer Rakʿahs Recited aloud? (when leading or alone)
Fajr (dawn) 2 Yes, both rakʿahs
Dhuhr (midday) 4 No, quietly
ʿAsr (afternoon) 4 No, quietly
Maghrib (sunset) 3 First two aloud, third quietly
ʿIshāʾ (night) 4 First two aloud, last two quietly

These are the obligatory (farḍ) rakʿahs. You will see people pray extra, voluntary rakʿahs before or after some prayers. Those are rewarding, but they are not required while you are learning. Find the times on our prayer times page.

Before you pray

  1. Wuḍūʾ – see how to make wuḍūʾ.
  2. Cleanliness – your body, clothes and the place you pray should be free of impurities such as urine. A clean prayer mat or any clean floor is fine.
  3. Covering – men cover at least from the navel to the knees (and should cover their shoulders); women cover everything except the face and hands. Loose, non-see-through clothing.
  4. Facing the qibla – the direction of the Kaʿbah in Makkah.
  5. The time has begun – see prayer times.

Each prayer has its own window: “prayer is obligatory for the believers at prescribed times” (Qur’an 4:103, Abdel Haleem).

What are the adhān and the iqāmah?

The adhān is the call to prayer. It announces that a prayer’s time has come and calls people to pray; at Fajr it adds aṣ-ṣalātu khayrun mina-n-nawm, “prayer is better than sleep”. The iqāmah is a shorter, quicker call made just before the congregation stands to pray; it adds qad qāmati-ṣ-ṣalāh, “the prayer has begun”. The time starts when the window opens, not when you hear the adhān, so if you know the time has come you can pray, even if your mosque calls it a little later.

One rakʿah, step by step

1. Stand and intend

Stand facing the qibla and make the intention in your heart for the specific prayer (for example, “the two rakʿahs of Fajr”). You don’t need to say it out loud. “Actions are only by intentions” (Ṣaḥīḥ al-Bukhārī 1).

2. Begin: Allāhu akbar

Raise your hands to your ears or shoulders and say:

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

Allāhu akbar

“God is greater.”

From now until the end, you are in prayer – don’t talk, eat or look around.

3. Stand and recite

Place your hands as your school teaches (see “Scholars differ” below). It is recommended to begin with an opening supplication, such as:

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

Subḥānaka-llāhumma wa bi-ḥamdik, wa tabāraka-smuk, wa taʿālā jadduk, wa lā ilāha ghayruk.

“Glory be to You, O God, and praise. Blessed is Your name, exalted is Your majesty, and there is no god but You.”

Reported by ʿĀʾishah –Sunan Abī Dāwūd 776. Other authentic opening supplications exist; any one of them is fine.

Then say aʿūdhu billāhi mina-sh-shayṭāni-r-rajīm (“I seek refuge in God from the accursed devil”) and bismillāhi-r-raḥmāni-r-raḥīm, and recite al-Fātiḥah – it is recited in every rakʿah. The full text is on our start here page. Say āmīn at the end.

In the first two rakʿahs, recite another short passage of the Qur’an after al-Fātiḥah. A good first one is Sūrat al-Ikhlāṣ:

  1. قُلْ هُوَ ٱللَّهُ أَحَدٌ ﴿1﴾

    Qul huwa-llāhu aḥad

    Say, ‘He is God the One,

  2. ٱللَّهُ ٱلصَّمَدُ ﴿2﴾

    Allāhu-ṣ-ṣamad

    God the eternal.

  3. لَمْ يَلِدْ وَلَمْ يُولَدْ ﴿3﴾

    Lam yalid wa lam yūlad

    He begot no one nor was He begotten.

  4. وَلَمْ يَكُن لَّهُۥ كُفُوًا أَحَدٌۢ ﴿4﴾

    Wa lam yakun lahū kufuwan aḥad

    No one is comparable to Him.’

Sūrat Al-Ikhlāṣ (Qur’an 112) · Arabic: Uthmani script (Ḥafṣ) · translation: M.A.S. Abdel Haleem · audio via Quran.com. Transliteration is only a pronunciation aid – listen to the audio and learn from a teacher where you can.

4. Bow (rukūʿ)

Say Allāhu akbar and bow, with your hands on your knees and your back straight. Say three times:

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

Subḥāna rabbiya-l-ʿaẓīm

“Glory be to my Lord, the Magnificent.”

Ṣaḥīḥ Muslim 772; Sunan Abī Dāwūd 874

5. Rise

Stand up straight, saying:

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

Samiʿa-llāhu li-man ḥamidah – Rabbanā wa laka-l-ḥamd

“God hears the one who praises Him.” – “Our Lord, and to You belongs all praise.”

Ṣaḥīḥ al-Bukhārī 795

6. Prostrate (sujūd)

Say Allāhu akbar and go down to the floor, so that your forehead and nose, both palms, both knees and the toes of both feet are touching the ground – the seven parts the Prophet ﷺ named (Ṣaḥīḥ al-Bukhārī 812). Say three times:

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

Subḥāna rabbiya-l-aʿlā

“Glory be to my Lord, the Most High.”

Ṣaḥīḥ Muslim 772

7. Sit briefly

Say Allāhu akbar and sit up. It is recommended to say Rabbi-ghfir lī, Rabbi-ghfir lī (“My Lord, forgive me; my Lord, forgive me”) (Sunan Abī Dāwūd 874).

8. Prostrate again

Say Allāhu akbar and make a second prostration exactly like the first.

That completes one rakʿah. Say Allāhu akbar and stand up for the next one.

Sitting and finishing

After every second rakʿah: the tashahhud

After the second prostration of the second rakʿah, stay sitting and recite the tashahhud:

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

At-taḥiyyātu lillāhi wa-ṣ-ṣalawātu wa-ṭ-ṭayyibāt. As-salāmu ʿalayka ayyuha-n-nabiyyu wa raḥmatu-llāhi wa barakātuh. As-salāmu ʿalaynā wa ʿalā ʿibādi-llāhi-ṣ-ṣāliḥīn. Ash-hadu an lā ilāha illa-llāh, wa ash-hadu anna Muḥammadan ʿabduhu wa rasūluh.

“All greetings, prayers and good things are for God. Peace be upon you, O Prophet, and the mercy of God and His blessings. Peace be upon us and upon the righteous servants of God. I bear witness that there is no god but God, and I bear witness that Muhammad is His servant and messenger.”

The version taught by the Prophet ﷺ to ʿAbdullāh ibn Masʿūd –Ṣaḥīḥ al-Bukhārī 831. Other authentic versions with very slightly different wording are used by some schools; all are valid.

  • In a 3- or 4-rakʿah prayer, this is the middle sitting: after the tashahhud, say Allāhu akbar and stand for the remaining rakʿah(s). In these last rakʿahs you recite only al-Fātiḥah, quietly.
  • In the final sitting of any prayer, continue with the blessings on the Prophet ﷺ below.

The final sitting

After the tashahhud, send blessings on the Prophet ﷺ (the Ṣalāh Ibrāhīmiyyah):

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

Allāhumma ṣalli ʿalā Muḥammadin wa ʿalā āli Muḥammad, kamā ṣallayta ʿalā Ibrāhīma wa ʿalā āli Ibrāhīm, innaka ḥamīdun majīd. Allāhumma bārik ʿalā Muḥammadin wa ʿalā āli Muḥammad, kamā bārakta ʿalā Ibrāhīma wa ʿalā āli Ibrāhīm, innaka ḥamīdun majīd.

“O God, send prayers upon Muhammad and the family of Muhammad, as You sent prayers upon Abraham and the family of Abraham; You are Praiseworthy, Glorious. O God, bless Muhammad and the family of Muhammad, as You blessed Abraham and the family of Abraham; You are Praiseworthy, Glorious.”

Taught by the Prophet ﷺ –Ṣaḥīḥ al-Bukhārī 3370

You may then make a short duʿāʾ of your own. Finally, turn your head to the right and then to the left, saying each time:

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

As-salāmu ʿalaykum wa raḥmatu-llāh

“Peace be upon you, and the mercy of God.”

To the right and then the left –Sunan Abī Dāwūd 996

Your prayer is complete.

Putting it together

Prayer Shape
2 rakʿahs (Fajr) Rakʿah 1 → Rakʿah 2 → final sitting → salām
3 rakʿahs (Maghrib) Rakʿah 1 → Rakʿah 2 → tashahhud → Rakʿah 3 (al-Fātiḥah only) → final sitting → salām
4 rakʿahs (Dhuhr, ʿAsr, ʿIshāʾ) Rakʿah 1 → Rakʿah 2 → tashahhud → Rakʿahs 3 and 4 (al-Fātiḥah only) → final sitting → salām

Scholars differ

You will see Muslims pray in slightly different ways. The Prophet ﷺ said, “Pray as you have seen me praying” (Ṣaḥīḥ al-Bukhārī 631), and the recognised schools of law each preserve that practice through the Companions, with small differences in detail. Some common examples:

  • Where the hands go– right over left below the navel (Ḥanbalīs, and Ḥanafī men; Ḥanafī women place them on the chest), below the chest and above the navel (Shāfiʿīs), or – the well-known Mālikī practice in obligatory prayers – arms hanging at the sides (Mālikīs permit holding the hands in voluntary prayers).
  • Raising the hands– at the opening Allāhu akbar only (Ḥanafīs and Mālikīs), or also when bowing and when rising from it (Shāfiʿīs and Ḥanbalīs).
  • Saying āmīn aloud or quietly when praying in congregation.
  • Sitting position and whether, and how, to move the index finger during the tashahhud.

None of these makes a prayer invalid. Follow what your teacher or local mosque teaches, and don’t worry when someone next to you does it differently.

Common questions

What do I say before I know al-Fātiḥah?

Keep praying while you learn it. What you say in its place is a question where the schools differ, so ask a scholar you trust what your school says. In outline, al-Jazīrī records (vol. 1, pp. 208–209):

  • Shāfiʿīs and Ḥanbalīs: if you know other verses of the Qur’an, recite them in its place, about as long as al-Fātiḥah; if you know only one verse, repeat it. If you know nothing of the Qur’an yet, say words of remembrance of Allah for about the length of al-Fātiḥah, and if you can’t manage even that, stand quietly for that time. For them the recitation must be in Arabic.
  • Mālikīs: learn it if you can. Until then, you must pray behind someone who recites it well, if you can find one; if not, it is recommended to pause between the opening Allāhu akbar and the bowing, and to fill that pause with remembrance of Allah.
  • Ḥanafīs: what is obligatory is reciting some of the Qur’an, not al-Fātiḥah in particular, though it should not be left out. A Ḥanafī scholar can tell you how this applies while you learn.

The remembrance many people use comes from a hadith. A man told the Prophet ﷺ he could not learn anything of the Qur’an and asked for something that would do instead, and was taught: subḥān Allāh, wal-ḥamdu lillāh, wa lā ilāha illa-llāh, wa-llāhu akbar, wa lā ḥawla wa lā quwwata illā billāh (Sunan Abī Dāwūd 832, graded ḥasan by al-Albānī; Sunan al-Nasāʾī 924, graded ḥasan by Darussalam). It is a stopgap while you learn, not a replacement: keep working on al-Fātiḥah a little each day (start here).

Praying behind an imam is a good way to learn, but the schools differ on whether you still recite al-Fātiḥah behind him. The Shāfiʿīs say the follower must recite it; the Ḥanafīs dislike the follower reciting at all; the Mālikīs recommend it in the quiet prayers and dislike it in the loud ones; the Ḥanbalīs recommend it in the quiet prayers and in the imam’s pauses (al-Jazīrī, vol. 1, p. 208). Ask a scholar you trust which applies to you.

What if I make a mistake?

Mistakes in prayer are normal, and the Prophet ﷺ himself made some, which is how we know what to do. The remedy depends on what you missed:

  • You missed a pillar – for example a bowing, a prostration, or a whole rakʿah. The two prostrations of forgetfulness are not enough on their own: you must do the missing part, then make the prostration of forgetfulness (sujūd al-sahw). When the Prophet ﷺ once finished a four-rakʿah prayer after only two, he stood and prayed the two rakʿahs he had missed, gave salām, and then made two prostrations of forgetfulness (Ṣaḥīḥ al-Bukhārī 1229).
  • You missed the middle tashahhud (the sitting after the second rakʿah) and only realised once you were standing: carry on, and make two prostrations of forgetfulness at the end. This is what the Prophet ﷺ did (Ṣaḥīḥ al-Bukhārī 1224).
  • You forgot a recommended word or movement: carry on; the prayer is valid.

The schools differ on the details. For example, the prostrations of forgetfulness come after the salām for the Ḥanafīs; before it for the Shāfiʿīs; before it for something left out and after it for something added – and before it if both happened – for the Mālikīs; and generally before it for the Ḥanbalīs, with some exceptions. They also differ on exactly how a missed pillar is made up. Ask your teacher to show you the method your community follows.

Until you’ve learnt this, do your best, and don’t let mistakes stop you praying.

I’m a woman. Is there anything different?

The steps are the same. Women do not pray during menstruation or post-natal bleeding, and they don’t make those prayers up afterwards (Ṣaḥīḥ Muslim 335a). Some schools describe small differences in women’s posture, such as keeping the limbs closer to the body.

Is prayer ever excused?

Almost never. Illness, travel and danger change how you pray, not whether you pray. Prayer in danger (ṣalāt al-khawf, the “prayer of fear”) is a real concession in Islamic law, with its own way of praying; the schools describe it differently, so ask a local imam if this could apply to you. (This isn’t a reason to ignore real danger: the concession is about how to pray safely, not about dropping the prayer.) The clear exemption is for women during menstruation and post-natal bleeding, as above. Prayer isn’t required then, isn’t made up, and you take a ghusl when the bleeding ends (ghusl). Children and people without legal capacity are also not held to account for prayer.

What if I can’t stand, or I’m in hospital?

Pray as you are able. The Prophet ﷺ told a man who was unwell: “Pray while standing and if you can’t, pray while sitting and if you cannot do even that, then pray lying on your side” (Ṣaḥīḥ al-Bukhārī 1117). Use the highest position you can manage (standing, standing with support, sitting, on your side, on your back) and move back up as you recover. See praying and fasting when you’re ill for wuḍūʾ with dressings, tayammum and hospital tips.

How do I pray while travelling?

Voluntary prayers may be prayed seated in a vehicle, facing whichever way it is going: the Prophet ﷺ prayed voluntary prayers on his mount “in whatever direction it took him” (Ṣaḥīḥ Muslim 700a; Ṣaḥīḥ al-Bukhārī 1096), nodding his head for the movements (Ṣaḥīḥ al-Bukhārī 1097) and making the prostration lower than the bowing (Jāmiʿ al-Tirmidhī 351, graded ṣaḥīḥ by Darussalam).

Obligatory prayers are different: he never prayed them that way (Ṣaḥīḥ al-Bukhārī 1097). On a plane or train, find a place to stand and face the qiblah if you possibly can. If you truly can’t, pray in your seat, as best you can, within the prayer time. Al-Jazīrī’s main view is that it needn’t be repeated; the Shāfiʿīs say it is repeated later, and the Mālikīs recommend repeating it if the prayer’s time hasn’t ended. Travellers may also shorten and combine some prayers, with conditions that differ between the schools. Before a long journey, especially if a prayer time falls during a flight, ask your teacher what your school says.

Can I read from a phone or a sheet while I learn?

Many new Muslims keep a card nearby while learning. The schools differ on reading Qur’an from a muṣḥaf or page during the prayer: for Abū Ḥanīfah it invalidates the prayer, while his two companions, Abū Yūsuf and Muḥammad, hold that the prayer is valid but it is disliked (al-Marghīnānī, al-Hidāyah, vol. 1 p. 63); the Mālikīs dislike looking into a muṣḥaf in an obligatory prayer, or partway through a voluntary one, but not from its start (Mukhtaṣar Khalīl, p. 39); the Shāfiʿīs say it does not invalidate the prayer, whether or not you know the passage by heart, and that someone who doesn’t yet know al-Fātiḥah must read it that way (al-Nawawī, al-Majmūʿ, vol. 4 p. 95); the Ḥanbalīs allow it, even for someone who knows it by heart (al-Buhūtī, Kashshāf al-Qināʿ, vol. 1 p. 384). A careful approach is to practise with the card outside prayer, and in the prayer itself to say what you have memorised. For the parts you can’t yet recite, the schools differ (see what to say before you know al-Fātiḥah), so ask a scholar you trust.

The positions of the four schools on this page were checked against ʿAbd al-Raḥmān al-Jazīrī, al-Fiqh ʿalā al-Madhāhib al-Arbaʿah, vol. 1, and fatwas of Dār al-Iftāʾ al-Miṣriyyah quoting the schools’ own texts; Mālikī points also against Mukhtaṣar Khalīl with al-Dardīr’s al-Sharḥ al-Kabīr. The answer on reading from a card was checked against the books named in it. Hadith references link to Sunnah.com.

Last reviewed 16 November 2026

← Back