Forbidden Prayer Times in Islam (Makruh Times)
Three times are forbidden for prayer: as the sun rises until it is fully up (about 15 to 20 minutes), at the zenith until the sun passes the meridian, and as it sets until it has set (Sahih Muslim 831). Voluntary prayer is also disliked after Fajr until sunrise and after Asr until sunset.
These are often called the makruh times. They are short windows, but they catch people out: an extra two rak’ahs straight after Asr, a late Fajr prayed as the sun comes up, or a Dhuhr started “at about noon”. This guide sets out each time, how long it lasts, how to read it off your city’s timetable, and what the schools allow during it.
The five times at a glance
| Time | From | Until | Type |
|---|---|---|---|
| Sunrise | The sun’s upper edge appears | Sun fully up, about 15–20 min later | Strict (all prayers in the Hanafi school) |
| Zenith (zawal) | A few minutes before solar noon | The sun passes the meridian (Dhuhr begins) | Strict (not held by Malikis) |
| Sunset | The sun yellows and nears the horizon | Sunset | Strict |
| After Fajr | After praying Fajr | Sunrise | Voluntary prayer disliked |
| After Asr | After praying Asr | Sunset | Voluntary prayer disliked |
What the hadith say
The three strict times come from ‘Uqba ibn ‘Amir: “There were three times at which Allah’s Messenger (ﷺ) forbade us to pray, or bury our dead: When the sun begins to rise till it is fully up, when the sun is at its height at midday till it passes over the meridian, and when the sun draws near to setting till it sets” (Sahih Muslim 831).
The reason is given in the long hadith of ‘Amr ibn ‘Abasa, who asked the Prophet ﷺ about prayer and was told to stop “when the sun is rising till it is fully up, for when it rises it comes up between the horns of Satan, and the unbelievers prostrate themselves to it at that time”, and to cease again before sunset “for it sets between the horns of devil, and at that time the unbelievers prostrate themselves before it” (Sahih Muslim 832). The point is to keep Muslim prayer visibly apart from sun worship.
The two after-prayer times come from Abu Sa’id al-Khudri: “There is no prayer after the morning prayer till the sun rises, and there is no prayer after the ‘Asr prayer till the sun sets” (Sahih al-Bukhari 586), and ‘Umar reported the same prohibition (Sahih al-Bukhari 581). Note the wording: the restriction begins after praying Fajr or Asr, not at the start of their time.
How long does each forbidden time last?
After sunrise
The prohibition lasts until the sun is “fully up”. Many Hanafi and South Asian timetables apply about 15 to 20 minutes after the sunrise time; others use a fixed 10 to 15 minutes. If your city page shows sunrise at 6:21, wait until about 6:40 before praying anything. This is also the start of the Duha (forenoon) prayer time. A missed Fajr is prayed after this window by Hanafis; the other schools allow it straight away (see below).
At the zenith
The zenith moment is short, only a few minutes around solar noon. Timetables, including PrayerZTime city pages, set Dhuhr a minute or two after solar noon, so if you wait for the Dhuhr time you are clear of it. Some Hanafi scholars treat a longer stretch of 5 to 10 minutes before Dhuhr as disliked to be safe. The details are in our Dhuhr guide.
Before sunset
The sunset window begins when the sun turns yellow and pale enough to look at, which often works out to roughly 15 to 20 minutes before Maghrib. The hadith of ‘Abdullah ibn ‘Amr gives the end of Asr’s chosen time as “until the sun turns yellow” (Sahih Muslim 612a), which is why delaying Asr into this period is criticised. The Standard and Hanafi start times for Asr, and the Asr window, are covered separately.
What the schools allow during these times
Hanafi. The strictest school. No prayer at all, obligatory or voluntary, in the three strict times, including make-up prayers and the prostration of recitation. The one exception is that day’s Asr: if someone has not yet prayed it, they pray it even as the sun is setting, though the delay was blameworthy. In the two after-prayer times, voluntary prayers are disliked, but make-up (qada) prayers and the funeral prayer are allowed. Hanafis also apply the sunrise rule to Fajr itself: a Fajr prayer interrupted by sunrise is invalid.
Shafi’i. The prohibition applies only to prayers “without a cause”. Prayers with a cause, such as a missed obligatory prayer, two rak’ahs on entering a mosque, the funeral prayer and the prostration of recitation, may be prayed at any time. Shafi’is cite the command to pray a forgotten prayer “when he remembers it” (Sahih al-Bukhari 597), the instruction to pray two rak’ahs on entering a mosque “before sitting” (Sahih al-Bukhari 444), and ‘A’isha’s report that the Prophet ﷺ “never missed them (two rak’at) after the ‘Asr prayer” (Sahih al-Bukhari 590), understood as making up the sunnah of Dhuhr. The school also exempts the zenith on Friday and prayer inside the Haram of Makkah.
Maliki. Voluntary prayer is forbidden at sunrise and sunset and disliked after Fajr and Asr. Imam Malik did not hold the zenith to be a forbidden time, based on the practice of the people of Madinah. Make-up prayers are allowed at all times.
Hanbali. Obligatory make-up prayers may be prayed at any time, as may the two rak’ahs after tawaf. Other voluntary prayers are not allowed in the five times, with some Hanbali scholars allowing prayers that have a cause, such as greeting the mosque.
Ja’fari. The prayer-timing chapters of Ayatollah Sistani’s Islamic Laws do not list these as times when prayer is forbidden, and obligatory prayers are performed within their own times, Dhuhr and Asr together if wished. Shia worshippers who want guidance on voluntary prayers at sunrise or sunset should ask their marja’s office.
Common situations
“I woke up at sunrise and haven’t prayed Fajr.” Most schools say pray it as soon as you can. Hanafis wait until the sun is fully up, then pray it as qada. Everyone agrees not to leave it longer than needed. Bukhari 579 records that catching one rak’ah before sunrise counts as catching Fajr, for the schools that apply it (Sahih al-Bukhari 579).
“I entered the mosque after Asr.” Shafi’is pray the two rak’ahs of greeting; Hanafis and Malikis sit without praying them; Hanbalis differ among themselves.
“Can I pray Tahajjud or Witr at 4 am?” Yes. None of the forbidden times fall at night. They are tied to sunrise, the zenith and sunset; see Tahajjud prayer time.
“Can I recite Qur’an or make du’a during these times?” Yes. The restriction is on salah. Dhikr, du’a and recitation are allowed, though Hanafis avoid the prostration of recitation in the strict times.
“What about Jumu’ah?” The Friday prayer is held after the zenith, at Dhuhr time, so it is not affected. See going early for Jumu’ah for what to do while you wait.
Reading the times from your timetable
Every PrayerZTime city page lists Fajr, sunrise, Dhuhr, Asr and Maghrib, which is all you need:
- Forbidden after sunrise: from sunrise to about 15–20 minutes later.
- Zenith: the few minutes before the Dhuhr time.
- Before sunset: about 15–20 minutes before Maghrib.
- After Fajr and after Asr: from when you finish praying them.
For example, in Dubai, Karachi, London or Kuala Lumpur, open the daily page and mark these four points. The sun and moon page explains how sunrise and sunset are calculated, and our methodology guide explains Dhuhr’s small safety margin after solar noon.
Frequently asked questions
What are the forbidden times for prayer?
Three strict times: as the sun rises until it is fully up, at the zenith until the sun passes the meridian, and as it sets until it has set (Sahih Muslim 831). Voluntary prayer is also disliked after praying Fajr until sunrise and after praying Asr until sunset (Sahih al-Bukhari 586).
How long after sunrise can I pray?
Wait until the sun is fully up. Many timetables use about 15 to 20 minutes after sunrise; some use 10 to 15. After that, any prayer is allowed, including Duha and a missed Fajr in the Hanafi school.
Can I pray qada (missed) prayers during forbidden times?
The Shafi’i, Maliki and Hanbali schools allow make-up of obligatory prayers at any time, based on Bukhari 597. Hanafis allow it after Fajr and after Asr, but not during the three strict times at sunrise, zenith and sunset.
Is it forbidden to pray after Asr?
Voluntary prayer is disliked from when you finish Asr until sunset (Sahih al-Bukhari 586). Obligatory prayers you missed may still be made up, and the Shafi’i school allows prayers with a cause, such as greeting the mosque.
How long is the zawal (midday) forbidden time?
Only a few minutes, around the moment the sun reaches its highest point. PrayerZTime sets Dhuhr just after solar noon, so waiting for the Dhuhr time avoids it. Some Hanafi scholars avoid the 5 to 10 minutes before Dhuhr to be safe. Malikis do not count the zenith as forbidden.
Do Shia Muslims have forbidden prayer times?
The prayer-timing chapters of Ayatollah Sistani’s Islamic Laws do not list these as forbidden times, and Ja’fari practice often prays Dhuhr with Asr and Maghrib with Isha. For voluntary prayers at sunrise or sunset, Shia worshippers should ask their own marja.
Related guides
Published · Updated