This is a complete guide to the tawaf prayer, the two rak‘ahs prayed after tawaf: its ruling, the niyyah, how to pray it and what to recite, the best place to pray it, its time, and the questions pilgrims commonly ask, according to the Shafi‘i school. May it help you, in sha Allah.
Editorial review: 24 October 2026 · English edition: 1 December 2026 · Expert fiqh review: in progress · Main references: Mukhtasar Tuhfat al-Muhtaj bi Sharh al-Minhaj, al-Majmu‘ and Sharh Sahih Muslim by Imam al-Nawawi, and fatwa no. 7666 of Dar al-Ifta’ al-Misriyyah (Egypt).
Short answer
The tawaf prayer is two rak‘ahs, a confirmed sunnah (sunnah mu’akkadah), prayed after every tawaf, whether the tawaf of Umrah, the tawaf al-ifadah, the farewell tawaf or a voluntary tawaf. In the first rak‘ah, recite al-Fatihah and Surah al-Kafirun. In the second, recite al-Fatihah and Surah al-Ikhlas.
The best place is behind Maqam Ibrahim, but it is valid anywhere. It may be prayed at any time, including after Fajr and Asr, and it does not lapse if it is delayed.
Choose your situation
Situation 1I have just finished tawafThe niyyah, what to recite and what to do after the prayer
Situation 2Behind Maqam Ibrahim is too crowdedThe best places, in order of merit
Situation 3I forgot or delayed the prayerPray it when you remember, even after returning home
Situation 4I want to do several voluntary tawafsWhen to pray for each tawaf
Ruling
Ruling and Evidence for the Tawaf Prayer
The tawaf prayer is called for after every tawaf, whether that tawaf is a pillar, obligatory or voluntary. Its basis is the word of Allah the Most High:
وَاتَّخِذُوا مِن مَّقَامِ إِبْرَاهِيمَ مُصَلًّى
“And take the station of Ibrahim as a place of prayer.”
Surah al-Baqarah 2:125
The Messenger of Allah ﷺ practised it: he performed tawaf for seven circuits, then prayed two rak‘ahs behind Maqam Ibrahim, then went out to Safa (Sahih al-Bukhari, no. 395).
A difference of opinion
Is the tawaf prayer obligatory?
Shafi‘i school
The more correct view: a confirmed sunnah, after both obligatory and voluntary tawaf (al-Nawawi, al-Majmu‘, 8/62). One view within the school makes it obligatory (Mukhtasar Tuhfat al-Muhtaj, 1/566).
If it is left out, the tawaf is still valid and no dam is due.
Other views
The Hanafi and Maliki schools make it obligatory. According to Imam Malik, whoever does not pray it until he returns to his country owes dam. Ibn ‘Abd al-Barr reports that most scholars only require it to be prayed, without dam.
In practice: Do not leave this prayer after any tawaf. If you miss it, pray it when you remember.
How to pray
Niyyah and How to Pray the Two Rak‘ahs of Tawaf
Niyyah for the two rak‘ahs of tawafNiyyah wording
أُصَلِّي سُنَّةَ الطَّوَافِ رَكْعَتَيْنِ لِلّٰهِ تَعَالَى
Usallī sunnatat-tawāfi rak‘ataini lillāhi ta‘ālā.
I pray the two rak‘ahs sunnah of tawaf for the sake of Allah the Most High.
Wording arranged by scholars. The niyyah in the heart with the opening takbir (takbiratul ihram) is sufficient. Saying it before the takbir is sunnah.
- Men: cover the right shoulder again. Iḍṭibā‘ (uncovering the right shoulder) is only during tawaf, and it is disliked (makruh) during prayer.
- Find a place where you do not block people performing tawaf. See the places in order of merit below.
- Say the opening takbir (takbiratul ihram) while intending in your heart: “I pray the two rak‘ahs sunnah of tawaf for the sake of Allah the Most High.”
- First rak‘ah: al-Fatihah, then Surah al-Kafirun.
- Second rak‘ah: al-Fatihah, then Surah al-Ikhlas. These two surahs follow the practice of the Messenger of Allah ﷺ (Sahih Muslim, no. 1218).
- Final tashahhud and salam, then make dua for whatever you need.
It is sunnah to recite aloud at night and after Fajr until sunrise, and quietly during the day (Mukhtasar Tuhfat al-Muhtaj, 1/566). In a crowded Masjid al-Haram, recite only loud enough not to disturb the people next to you. The pillars and recitations of the prayer in detail are in the guide to the 13 pillars of salah.
After the salam
- Make dua. If it is not crowded, you may also make dua at the Multazam.
- Drink zamzam water. See the dua for zamzam water.
- If it was the tawaf of Umrah or a tawaf followed by sa‘i, go on to Safa. Men uncover the right shoulder again for sa‘i.
Next stepSa‘i between Safa and MarwahStep 5 of the Umrah guide: seven laps from Safa to Marwah
Place
Where to Pray: In Order of Merit

Shafi‘i scholars rank the places for the tawaf prayer by their merit (Mukhtasar Tuhfat al-Muhtaj, 1/566, and al-Nawawi, Sharh Sahih Muslim, 8/175):
| Place | Status |
|---|---|
| 1. Behind Maqam Ibrahim, meaning the area that is customarily counted as behind it, as long as you do not block the tawaf route. | Best |
| 2. Near the Kaaba: inside the Hijr Isma‘il (especially under the golden waterspout), facing the door of the Kaaba, and between the two Yemeni corners. | Preferred |
| 3. Anywhere in Masjid al-Haram, including the upper floors and the roof. | Valid |
| 4. Anywhere in Makkah, then anywhere in the Haram area, including your hotel. | Valid |
| 5. Outside the Haram, even back in your home country. The merit of the place is lost. | Valid |
According to Imam al-Nawawi, if someone prays it in his own country or anywhere on earth, the prayer is valid, but the merit of the place is lost (Sharh Sahih Muslim, 8/175). Dar al-Ifta’ of Egypt states that there is no sin in praying it somewhere other than behind the Maqam, especially when it is crowded (Fatwa no. 7666).
When it is crowded
- “Behind Maqam Ibrahim” is not limited to the space directly behind it. It includes the area that is still customarily counted as behind the Maqam (Mukhtasar Tuhfat al-Muhtaj, 1/566).
- Do not pray in the path of people performing tawaf. Blocking the way makes things hard for others, while other places are still valid.
- Access to the Hijr Isma‘il is now controlled by the Masjid al-Haram authorities. See the current rules around the Kaaba in Step 2 of the Umrah guide.
Time
When to Pray the Tawaf Prayer
This prayer may be prayed at any time, including after Fajr and after Asr. There are two reasons. First, its cause (the tawaf) comes before the prayer. Second, the forbidden prayer times do not apply in the Haram of Makkah. The Messenger of Allah ﷺ said:
يَا بَنِي عَبْدِ مَنَافٍ لاَ تَمْنَعُوا أَحَدًا طَافَ بِهَذَا الْبَيْتِ وَصَلَّى أَيَّةَ سَاعَةٍ شَاءَ مِنْ لَيْلٍ أَوْ نَهَارٍ
“O Banu ‘Abd Manaf, do not prevent anyone from performing tawaf around this House and praying at any hour he wishes, by night or by day.”
Jami‘ al-Tirmidhi, no. 868, from Jubayr ibn Mut‘im RA
It is better to pray it straight after tawaf, without anything else in between. Continuity between the tawaf and these two rak‘ahs is one of the sunnah acts of tawaf.
Forgot
If You Forgot or Delayed It
The tawaf prayer does not lapse. If you forgot it, pray it as soon as you remember, whether you are still in Masjid al-Haram, back at your hotel or home in your own country. The prayer is valid and no dam is due in the Shafi‘i school, but the merit of the place and of continuity is lost (al-Nawawi, Sharh Sahih Muslim, 8/175).
Common situations
- Went straight to sa‘i without praying? Your sa‘i is valid. Pray the two rak‘ahs after sa‘i or whenever you remember.
- Already completed the tahallul of Umrah? Your tahallul is valid. The tawaf prayer does not affect whether your Umrah is valid.
- Unsure whether you prayed it or not? Simply pray the two rak‘ahs.
In its place
An Obligatory Prayer in Its Place
If the iqamah for an obligatory prayer is called just as you finish tawaf, join the congregational prayer. The requirement of the tawaf prayer is fulfilled by another prayer (Mukhtasar Tuhfat al-Muhtaj, 1/566).
According to Ibn Hajar al-Haytami, the specific reward of the tawaf prayer is only gained if it is also intended. Some other Shafi‘i scholars hold that the reward is gained even if it is not intended. If time allows, pray the two rak‘ahs of tawaf separately after the obligatory prayer.
In a row
Several Tawafs in a Row
A pilgrim who performs several voluntary tawafs at one time has three options, in order of merit (Mukhtasar Tuhfat al-Muhtaj, 1/566):
- Best: pray two rak‘ahs after each tawaf.
- Finish all the tawafs first, then pray two rak‘ahs for each tawaf.
- Finish all the tawafs, then pray only two rak‘ahs for all of them.
Dua
Dua After the Tawaf Prayer
There is no fixed wording of dua after the tawaf prayer. Make dua for whatever you need, in a language you understand.
The duas behind Maqam Ibrahim and at the Multazam that are common in manasik books were arranged by scholars. They are good to recite, but they are not a requirement.
Mistakes
Common Mistakes
- Praying on the tawaf route. Crowding behind the Maqam when it is busy blocks people performing tawaf. Praying elsewhere is still valid.
- Leaving the right shoulder uncovered during the prayer. Iḍṭibā‘ is disliked during prayer. Cover it again before the takbir.
- Thinking the Multazam is at Maqam Ibrahim. The Multazam is the wall of the Kaaba between the Black Stone and its door. It is a place for dua, not the place for the tawaf prayer.
- Skipping the prayer because it is after Asr or Fajr. This prayer may be prayed at any time in Masjid al-Haram.
- Thinking the tawaf is invalid without the prayer. The tawaf is valid. This prayer is a confirmed sunnah and can be prayed later.
Q&A
Frequently Asked Questions
What is the ruling on the tawaf prayer?
A confirmed sunnah according to the more correct view in the Shafi‘i school, after every tawaf, whether obligatory or voluntary (al-Majmu‘, 8/62). If it is left out, the tawaf is still valid and no dam is due.
Which surahs are recited in the tawaf prayer?
First rak‘ah: al-Fatihah and Surah al-Kafirun. Second rak‘ah: al-Fatihah and Surah al-Ikhlas, following the practice of the Messenger of Allah ﷺ (Sahih Muslim, no. 1218).
Where should the tawaf prayer be prayed?
Best behind Maqam Ibrahim, as long as you do not block the tawaf route. It is also valid in the Hijr Isma‘il, anywhere in Masjid al-Haram, anywhere in Makkah, and even outside the Haram.
Can the tawaf prayer be prayed after Asr?
Yes. The tawaf prayer may be prayed at any time, including after Fajr and Asr, because its cause comes before the prayer and the forbidden times do not apply in the Haram (Jami‘ al-Tirmidhi, no. 868).
I forgot the tawaf prayer. What should I do?
Pray the two rak‘ahs as soon as you remember, even if you are already at your hotel or back home. The prayer is valid and no dam is due in the Shafi‘i school. Only the merit of the place is lost.
Is the tawaf prayer needed after a voluntary tawaf?
Yes. The tawaf prayer is called for after every tawaf, including a voluntary tawaf. If you perform tawaf several times, it is best to pray after each tawaf.
Sources
References
- The Quran, Surah al-Baqarah 2:125.
- Sahih al-Bukhari, no. 395 (tawaf and the prayer behind the Maqam). sunnah.com
- Sahih Muslim, no. 1218 (the hadith of Jabir on the Hajj of the Messenger of Allah ﷺ and the recitation in the two rak‘ahs of tawaf). sunnah.com
- Jami‘ al-Tirmidhi, no. 868 (praying after tawaf at any time). sunnah.com
- Ibn Hajar al-Haytami, Tuhfat al-Muhtaj bi Sharh al-Minhaj, in its abridged edition Mukhtasar Tuhfat al-Muhtaj, 1/566 (the ruling, recitation, place, another prayer in its place and several tawafs in a row). al-Maktabah al-Shamilah
- Al-Nawawi, al-Majmu‘ Sharh al-Muhadhdhab, 8/62, and Sharh Sahih Muslim, 8/175, as quoted in the fatwa of Dar al-Ifta’ al-Misriyyah.
- Dar al-Ifta’ al-Misriyyah (Egypt), Fatwa no. 7666, Hukm Salat Rak‘atay al-Tawaf fi Ghayr Maqam Sayyidina Ibrahim (praying the two rak‘ahs of tawaf away from Maqam Ibrahim), 29 May 2023 (in Arabic). dar-alifta.org
- Yasir Fathi, Fadl al-Rahim al-Wadud Takhrij Sunan Abi Dawud, 30/473 (the views of the schools on the ruling of the two rak‘ahs of tawaf). al-Maktabah al-Shamilah


