‹ Back to the gateway homeWorship in Islam · 07 / 22

The rules of prayer

The place of prayer, its times, its conditions, its pillars across the four schools, what invalidates it and what is disliked.

The pillar of the religion

The place of prayer in Islam

The second pillar

After the testimony of faith, prayer is the greatest pillar of Islam (al-Bukhari 8; Muslim 16).

Prescribed in the heavens

The five prayers were made obligatory on the Night Journey, directly by Allah to His Prophet ﷺ (al-Bukhari 349; Muslim 162).

The first account

“The first deed for which a servant will be called to account on the Day of Resurrection is his prayer” (Abu Dawud 864; at-Tirmidhi 413).

A serious matter

“Between a man and disbelief is abandoning the prayer” (Muslim 82). Scholars differ on the one who leaves it from laziness, but all agree it is among the gravest sins.

For whom

Every sane Muslim who has reached puberty, man or woman. Children are taught at seven and firmly encouraged at ten (Abu Dawud 495).

﴿إِنَّ ٱلصَّلَوٰةَ كَانَتْ عَلَى ٱلْمُؤْمِنِينَ كِتَـٰبًا مَّوْقُوتًا﴾

“Indeed, prayer has been decreed upon the believers at fixed times.”

An-Nisa’ 4:103 — translation of the meaning
Your prayer, on time

Prayer times and qibla direction

Calculated on your device, offline — nothing is sent anywhere. Allow location, or enter your coordinates:

PrayerStartsEndsAcross the day
Fajr—
Sunrise—·
Dhuhr—
‘Asr—
Maghrib—
‘Isha’—

Isha lasts until Fajr; it is best prayed before midnight.

— degrees from true north

Qibla direction

Times are calculated astronomically and may differ by a few minutes from your local mosque; follow your local mosque where possible. In far northern or southern places in summer, consult a local scholar.

Before you begin

The conditions of prayer

These must be in place before the prayer begins and remain throughout it:

Islam, sanity and discernment

Prayer is valid from a Muslim who is sane and old enough to understand.

Purity from ritual impurity

Wudu, or ghusl when it is required, or tayammum in their place (Muslim 224).

Purity of body, clothes and place

From physical impurities, as far as you are able (Al-Muddaththir 74:4).

Covering the ‘awrah

For a man, at least from the navel to the knee according to most scholars, and the shoulders should not be bare (al-Bukhari 359); for a woman, the whole body except the face and hands, while the Hanafi school also excuses the feet.

The time has entered

Each prayer has its time; praying before it is not valid (An-Nisa’ 4:103).

Facing the qiblah

Facing the Ka‘bah in Makkah (Al-Baqarah 2:144). Whoever tries his best to find it and errs, his prayer is valid.

Intention

Knowing in the heart which prayer you are praying; it is not spoken aloud.

Pillars and obligations

The pillars of prayer across the four schools

A pillar (rukn) cannot be left out, even by forgetting: the unit must be made up. The Hanafi school separates “fard” from “wajib”; leaving a wajib by mistake is repaired by the prostration of forgetfulness. For the Hanafi school the opening takbir is a condition, and al-Fatihah is wajib in the first two units of an obligatory prayer.

ActHanafiMalikiShafi‘iHanbali
Opening takbir (Allahu akbar)ConditionPillarPillarPillar
Standing in the obligatory prayer, if ablePillarPillarPillarPillar
Reciting al-Fatihah in every unitWajibPillarPillarPillar
Bowing and the two prostrationsPillarPillarPillarPillar
Rising from bowing and sitting between prostrationsWajibPillarPillarPillar
Calmness in each position (tuma’ninah)WajibPillarPillarPillar
Final sittingPillarPillarPillarPillar
Final tashahhudWajibSunnahPillarPillar
Blessings on the Prophet ﷺ in the final tashahhudSunnahSunnahPillarPillar
Closing salamWajibPillarPillarPillar

The evidence for most of these is the hadith of the man who prayed badly (al-Bukhari 757; Muslim 397), “Pray as you have seen me pray” (al-Bukhari 631), and “There is no prayer for one who does not recite the Opening of the Book” (al-Bukhari 756; Muslim 394). Doing every act in this table makes your prayer valid by all four schools.

Guard your prayer

What invalidates the prayer

Deliberate speech

Speaking on purpose with words unrelated to the prayer: “Nothing of people’s speech is fit in this prayer” (Muslim 537).

Breaking wudu

Anything that breaks wudu breaks the prayer.

Leaving a pillar or condition

Deliberately leaving a pillar, or a condition such as covering or facing the qiblah, without excuse.

Eating or drinking

Deliberately, by agreement of the scholars.

Much unnecessary movement

Continuous movement unrelated to the prayer, so that an onlooker would think you are not praying. Small necessary movement is fine: the Prophet ﷺ prayed carrying his granddaughter Umamah (al-Bukhari 516; Muslim 543).

Laughing aloud

Laughter with sound breaks the prayer by agreement; a smile does not.

Perfecting prayer

What is disliked in prayer

  • Looking around: “It is a theft that Satan steals from a servant’s prayer” (al-Bukhari 751).
  • Raising the gaze to the sky: the Prophet ﷺ warned sternly against it (al-Bukhari 750).
  • Praying with food served or needing the toilet: (Muslim 560).
  • Hands on the waist: (al-Bukhari 1220; Muslim 545).
  • Spreading the forearms on the ground in prostration: “like a dog” (al-Bukhari 822; Muslim 493).
  • Yawning without covering the mouth: hold it back as much as you can (Muslim 2995).
  • Racing the imam: “Does the one who raises his head before the imam not fear that Allah will turn his head into a donkey’s head?” (al-Bukhari 691; Muslim 427).
  • Fidgeting: playing with clothes, hair or a phone takes away from khushu‘.

Sections of this page

  1. The meaning of worship
    1. What worship is
    2. When worship is accepted
    3. The power of intention
    4. A whole life of worship
    5. Islam, Iman, Ihsan
    6. Common misconceptions
  2. The worship of the heart
    1. The worship of the heart
    2. The heart in practice
    3. The believer in every state
    4. Presence of heart in prayer
    5. Guarding sincerity
    6. Repentance
    7. Never despair
  3. Purity and water
    1. Why purity matters
    2. Water for purification
    3. Impurities and cleaning
    4. Toilet manners
  4. Wudu in depth
    1. Wudu step by step
    2. Wudu across the four schools
    3. Sunnahs of wudu
    4. What breaks wudu
    5. Mistakes in wudu and ghusl
  5. Ghusl, tayammum and wiping
    1. When ghusl is required
    2. Valid and complete ghusl
    3. Ghusl step by step
    4. Dry ablution (tayammum)
    5. Tayammum and the schools
    6. Wiping over socks and casts
  6. Women’s purity
    1. Menstruation and worship
    2. Bleeding: what to know
    3. Questions women ask
  7. The rules of prayer
    1. The place of prayer
    2. Prayer times and qibla
    3. Conditions of prayer
    4. Pillars of prayer across the schools
    5. What invalidates prayer
    6. Disliked in prayer
  8. How to pray
    1. The call to prayer (adhan)
    2. Answering the adhan
    3. Salah step by step
    4. Al-Fatihah: a conversation
    5. Learn the words of prayer
    6. The prayer on one page
    7. Sunnahs of prayer
    8. The schools in the description of prayer
    9. Remembrance after prayer
    10. Common mistakes in prayer
    11. More about prayer
  9. Forgetfulness in prayer
    1. What it is
    2. The cases from the Sunnah
    3. Sahw helper
    4. Sahw across the schools
  10. Voluntary prayers
    1. The regular sunnah prayers
    2. Witr
    3. The night prayer
    4. The forenoon prayer
    5. The prayer of seeking guidance
    6. More voluntary prayers
    7. Prayers of repentance and need
    8. The rain prayer and the prostration of gratitude
    9. The fifteen prostrations of recitation
    10. Times without voluntary prayer
  11. Friday and congregation
    1. The Friday prayer
    2. Your Friday step by step
    3. Friday reminders
    4. Praying in congregation
    5. If you arrive late
    6. Manners of the mosque
  12. Special prayers and situations
    1. Prayer while travelling
    2. Travel rules across the schools
    3. When ill or travelling
    4. The prayer of fear
    5. The two Eids
    6. The Eid prayer
    7. The dying and the deceased
    8. The funeral prayer
    9. Writing your will
    10. Patience at calamity
    11. Expiations and vows
  13. Zakah and charity
    1. Zakah in brief
    2. Zakah on every kind of wealth
    3. Zakah on salary, pensions and jewellery
    4. Zakah calculator
    5. Savings and jewellery calculator
    6. Crops and livestock calculator
    7. Zakat al-fitr and fidyah calculators
    8. Voluntary charity
  14. Fasting
    1. How to fast Ramadan
    2. What breaks the fast
    3. Making up missed fasts
    4. Missed-fast tracker
    5. Laylat al-Qadr
    6. I‘tikaf
    7. Special days of fasting
    8. Voluntary fasts
    9. Your voluntary fasting calendar
    10. The Islamic calendar
  15. Hajj and ‘umrah
    1. The reward of Hajj
    2. Hajj and umrah step by step
    3. Pillars of Hajj across the schools
    4. Hajj day by day
    5. ‘Umrah step by step
    6. While in ihram
    7. Hajj and ‘umrah checklist
    8. The first ten days of Dhul-Hijjah
    9. The Eid sacrifice
    10. Visiting Madinah
  16. Remembrance and the Quran
    1. Living with the Quran
    2. Manners of the Quran
    3. Tajwid basics
    4. Quran completion planner
    5. Words beloved to Allah
    6. Morning & evening adhkar
    7. Tasbih counter
    8. Remembrance card
    9. Remembrance reminders
    10. Manners of supplication
    11. My supplications
    12. Supplications from the Quran
    13. Supplications of travel
    14. Everyday du‘as
  17. Worship at every age
    1. A day of worship
    2. Children
    3. Welcoming a newborn
    4. Young people
    5. Men
    6. Women
    7. Older men and women
    8. Illness and disability
    9. Worship at work and study
    10. The family as worship
    11. Special cases
  18. Constancy and progress
    1. How to stay constant
    2. My worship plan
    3. The fruits of worship
    4. My progress
  19. Worship in daily life
    1. Sunnahs of daily life
    2. Blessings on the Prophet ﷺ
    3. Worship through people
    4. Worship of the tongue
    5. Ruqyah: seeking healing with the Quran
    6. The evil eye and envy
  20. The year of worship
    1. The seasons of worship
    2. Your calendar of the year
    3. Ramadan in practice
    4. Your Ramadan tracker
  21. Your worship tools
    1. Prayer times and qibla
    2. Live qiblah compass
    3. Can I pray now?
    4. Does it break it?
    5. Your day of worship
    6. Missed prayers
    7. Missed-prayer tracker
    8. Printable monthly sheet
    9. Children’s prayer star chart
  22. Questions and resources
    1. Common questions
    2. Test yourself
    3. Glossary
    4. Printable booklet
    5. Sources