This is a complete guide to the ihram prayer, the two sunnah rak‘ahs before entering ihram for Hajj or Umrah: its ruling and evidence, the niyyah, how to pray it and what to recite, when it cannot be prayed, and what to do on a plane or during menstruation, according to the Shafi‘i school. May it help you, in sha Allah.
Editorial review: 24 October 2026 · English edition: 3 December 2026 · Expert fiqh review: in progress · Main references: Mukhtasar Tuhfat al-Muhtaj bi Sharh al-Minhaj, Sahih Muslim, Dar al-Ifta’ al-Misriyyah Fatwa no. 7516 and the Tabung Haji (Malaysia) Basic Hajj Course Notes 1448H.
Short answer
The ihram prayer is two sunnah rak‘ahs prayed before making the niyyah of ihram for Hajj or Umrah. In the first rak‘ah you recite al-Fatihah and Surah al-Kafirun. In the second, al-Fatihah and Surah al-Ikhlas. The niyyah of ihram is made after the prayer.
It is not prayed during the forbidden prayer times outside the Haram. An obligatory prayer performed just before entering ihram is enough. If there is no chance at all to pray, your ihram is still valid without it.
Choose your situation
Situation 1I am at the miqat mosqueNiyyah, recitation and when to enter ihram
Situation 2I am entering ihram on the planeYour options before the miqat in the air
Situation 3It is after Fajr or AsrForbidden times and the exception in the Haram
Situation 4I am menstruating or in postnatal bleedingNo prayer, but your ihram is still valid
Ruling
Ruling and Evidence of the Ihram Prayer
The ihram prayer is sunnah for anyone about to enter ihram for Hajj or Umrah. The evidence is the practice of the Messenger of Allah ﷺ at Dhul Hulaifah (Bir Ali), the miqat of the people of Madinah:
كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَرْكَعُ بِذِي الْحُلَيْفَةِ رَكْعَتَيْنِ ثُمَّ إِذَا اسْتَوَتْ بِهِ النَّاقَةُ قَائِمَةً عِنْدَ مَسْجِدِ ذِي الْحُلَيْفَةِ أَهَلَّ
“The Messenger of Allah ﷺ used to pray two rak‘ahs at Dhul Hulaifah. Then, when his camel stood up with him beside the mosque of Dhul Hulaifah, he entered ihram (with the talbiyah).”
Sahih Muslim, no. 1184, from ‘Abdullah ibn ‘Umar RA
Because it is sunnah, leaving it out is not a sin and no dam is due. The pillar is the niyyah of ihram, not this prayer. Ihram without the sunnah prayer is still valid.
Dar al-Ifta’ of Egypt states the same: the two rak‘ahs before ihram are sunnah as long as it is not a disliked time, and there is no harm in entering ihram without them (Fatwa no. 7516).
How to pray
Niyyah and How to Pray the Ihram Prayer
Pray it after the sunnah bath for ihram and after putting on the ihram clothing, before making the niyyah of ihram. It is prayed like any other two-rak‘ah sunnah prayer.
Niyyah of the ihram prayerArranged by scholars
أُصَلِّي سُنَّةَ الْإِحْرَامِ رَكْعَتَيْنِ لِلّٰهِ تَعَالَى
Uṣallī sunnatal-iḥrāmi rak‘ataini lillāhi ta‘ālā.
I pray the sunnah prayer of ihram, two rak‘ahs, for the sake of Allah the Most High.
The niyyah in the heart at the opening takbir is enough. Saying it aloud before the takbir is sunnah.
- Take wudu and stand facing the qiblah.
- Say the opening takbir (takbiratul ihram) with the niyyah in your heart: “I pray the sunnah prayer of ihram, two rak‘ahs, for the sake of Allah the Most High.”
- First rak‘ah: the opening dua (sunnah), al-Fatihah, then Surah al-Kafirun.
- Ruku‘, i‘tidal and two prostrations as usual, with tuma’ninah (stillness) in each pillar.
- Second rak‘ah: al-Fatihah, then Surah al-Ikhlas.
- Final tashahhud and salam.
The recitation in this prayer is silent (sirr), by day or by night (Mukhtasar Tuhfat al-Muhtaj, 1/555). If you have not memorised al-Kafirun or al-Ikhlas, recite any surah you know and the prayer is still valid. The pillars and recitations of the prayer in detail are in the pillars of salah.
When to make the niyyah of ihram after the prayer
The niyyah of ihram is a separate act of worship. It does not happen by itself after the salam, so you must make it. In the Shafi‘i school, it is better to make the niyyah when you start moving on with your journey, following the hadith above. According to another view in the school, it is made right after the prayer (Mukhtasar Tuhfat al-Muhtaj, 1/555).
Both are valid. If you are at Bir Ali, make the niyyah before the bus leaves the miqat area, then begin the talbiyah.
Step by stepNiyyah for Umrah and How to Enter IhramFour steps from getting ready to the talbiyah
In its place
An Obligatory Prayer in Its Place
If you perform an obligatory prayer or another sunnah prayer just before entering ihram, the call for the ihram prayer is fulfilled. The aim of this sunnah is that ihram follows a prayer without a long gap (Mukhtasar Tuhfat al-Muhtaj, 1/555). Dar al-Ifta’ of Egypt also states that entering ihram after an obligatory prayer or another sunnah prayer is enough (Fatwa no. 7516).
For example, your group reaches Bir Ali at Zuhr time. After praying Zuhr in congregation, you can go straight on to make the niyyah of ihram.
Good to know
- According to Ibn Hajar al-Haitami and Shaykh al-Islam Zakariyya al-Ansari, the specific reward of the ihram prayer is only gained if you also intend it. If time allows, pray the two rak‘ahs of ihram separately after the obligatory prayer.
- If the gap between the prayer and the niyyah of ihram is too long, for example praying at home and making the niyyah hours later, the aim of this sunnah is not met.
Timing
Forbidden Times and the Exception in the Haram
The ihram prayer has a reason that comes after it, namely ihram. For this reason, in the Shafi‘i school it cannot be prayed during the forbidden prayer times if you are outside the Haram (Mukhtasar Tuhfat al-Muhtaj, 1/555). These times are:
- After the Fajr prayer until the sun has risen about the height of a spear.
- When the sun is at its zenith (istiwa’) until it passes the meridian, except on Friday.
- After the Asr prayer until sunset.
This prohibition does not apply in the Haram of Makkah. Within its boundary, sunnah prayers may be performed at any time.
| Where you make the niyyah | Forbidden times |
|---|---|
| Bir Ali Mosque (Dhul Hulaifah) and the other miqat. Outside the Haram. | Apply |
| Masjid Aisyah (Tan‘im) or Ji‘ranah, for a second Umrah. Outside the Haram. | Apply |
| Your accommodation in Makkah, for the niyyah of Hajj on 8 Dhul Hijjah. Inside the Haram. | Do not apply |
If you reach the miqat at a forbidden time
- If there is still time, wait until the forbidden time ends, then pray and make the niyyah (Dar al-Ifta’ of Egypt, Fatwa no. 7516).
- If your group has to move on, make the niyyah of ihram straight away without the prayer. Your ihram is valid.
Full guideForbidden Times for PrayerThe forbidden times and the prayers that are exempt
On a plane
If You Enter Ihram on a Plane

Pilgrims flying direct to Jeddah cross the miqat of Qarn al-Manazil or Yalamlam in the air. They make the niyyah of ihram on the plane when the cabin crew make the announcement. There are two options for the ihram prayer:
- Pray in your seat before the miqat announcement. A traveller may pray sunnah prayers on a vehicle, facing the direction of travel, using gestures for ruku‘ and sujud. The method is explained in Solat dalam Kapal Terbang (in Malay).
- Simply leave it out if there is no space or chance. This prayer is sunnah, and your ihram is still valid without it.
You may put on the ihram clothing at home, at the hotel or at the airport before boarding, but do not make the niyyah yet. The niyyah is made as you approach the miqat. The timing for each flight route is in Miqat for Umrah.
Women
Menstruation and Postnatal Bleeding
A woman who is menstruating or in postnatal bleeding may not pray, including the ihram prayer. She is still recommended to take the bath for ihram, then make the niyyah and recite the talbiyah like other pilgrims. Asma’ bint ‘Umais RA gave birth near Dhul Hulaifah, and the Messenger of Allah ﷺ told her to bathe and enter ihram (Sahih Muslim, no. 1209).
At Bir Ali, a menstruating woman does not enter the prayer hall of the mosque. She makes the niyyah outside the mosque or on the bus.
Full guideIhram for WomenMenstruation, ihram and the conditional niyyah
Full guideHajj for WomenMenstruation and postnatal bleeding in each phase of Hajj
Mistakes
Common Mistakes
- Thinking ihram is not valid without the prayer. This prayer is sunnah. What is obligatory is the niyyah of ihram at the miqat.
- Thinking you are in ihram once you say the salam. Ihram only begins with the niyyah. Make sure you make the niyyah before passing the miqat.
- Praying at a forbidden time at the miqat. Outside the Haram, this prayer is not performed after Fajr or after Asr.
- Applying perfume after the niyyah. Perfume is sunnah on the body before the niyyah. After the niyyah, it is one of the prohibitions of ihram.
Questions and answers
Frequently Asked Questions
What is the ruling on the ihram prayer?
It is sunnah. The Messenger of Allah ﷺ prayed two rak‘ahs at Dhul Hulaifah before entering ihram (Sahih Muslim, no. 1184). Leaving it out is not a sin, no dam is due and the ihram is still valid.
Which surahs are recited in the ihram prayer?
In the first rak‘ah, al-Fatihah and Surah al-Kafirun. In the second, al-Fatihah and Surah al-Ikhlas. If you have not memorised them, any other surah is allowed.
Can the ihram prayer be prayed after Asr?
No, if you are outside the Haram, such as at Bir Ali or Tan‘im. Wait for the forbidden time to end, or make the niyyah of ihram without the prayer. Inside the Haram of Makkah, this prohibition does not apply.
Can the Zuhr prayer replace the ihram prayer?
Yes. The call for it is fulfilled if you enter ihram right after an obligatory prayer. But according to Ibn Hajar, the specific reward of the ihram prayer is only gained if you also intend it.
How do I pray the ihram prayer on a plane?
A traveller may pray a sunnah prayer in their seat, facing the direction of travel, using gestures for ruku‘ and sujud, before the miqat announcement. If there is no chance, simply leave it out. Your ihram is still valid.
Can a menstruating woman pray the ihram prayer?
No. A woman who is menstruating or in postnatal bleeding does not pray, but she still takes the sunnah bath for ihram, makes the niyyah and recites the talbiyah. Her ihram is valid.
Sources
References
- Sahih Muslim, no. 1184 (two rak‘ahs at Dhul Hulaifah) and no. 1209 (Asma’ bint ‘Umais entering ihram during postnatal bleeding). sunnah.com
- Ibn Hajar al-Haitami, Tuhfat al-Muhtaj bi Sharh al-Minhaj, abridged as Mukhtasar Tuhfat al-Muhtaj, 1/555 (the ihram prayer, its recitation, replacing it with another prayer, the forbidden times and when to make the niyyah). al-Maktabah al-Shamilah
- Dar al-Ifta’ al-Misriyyah, Fatwa no. 7516, Hukm Salat Rak‘atain ‘Ind al-Ihram (The Ruling on Two Rak‘ahs at Ihram), 2 March 2023. dar-alifta.org
- Tabung Haji (Malaysia), Basic Hajj Course Notes 1448H (in Malay). TH e-Bimbingan Haji


