...

There are three windows each day when Muslims don’t offer voluntary prayer: for roughly 15–20 minutes after sunrise, for a few minutes around solar noon, and from Asr until the sun has fully set. That’s the short answer. What most explanations skip is that “forbidden times of Salah” doesn’t mean the same thing in every school of thought — and that matters if you’ve missed a prayer, if you’re already mid-rakah when one of these windows opens, or if you’re standing in the Haram in Mecca where the rule doesn’t apply at all.

The three windows, one at a time

After Fajr, until the sun has fully risen. This starts the moment you finish the Fajr prayer and runs until the sun clears the horizon — jurists describe it as the sun rising “to the height of a spear,” which in practical terms is about 15 to 20 minutes after sunrise, depending on your latitude and the time of year. Nothing voluntary gets prayed in this window. Not Duha, not a random two rakahs, nothing.

Solar noon. Short one, this. It’s the few minutes when the sun sits at its highest point and shadows all but vanish — the moment just before Dhuhr time technically begins. Because the window is so brief, scholars warn against even starting a prayer if there’s a real chance zawal (the sun passing its zenith) will hit while you’re still in it. Better to wait the few minutes than risk landing in the forbidden window mid-prayer.

After Asr, until sunset. This one runs long — from the moment you pray Asr until the sun is completely down. The last 15 to 20 minutes of it, when the sun turns pale and dull enough to look at directly, is treated as the most serious part of the window, because that’s the part that most closely echoes the after-sunrise prohibition.

Two hadith carry almost the entire weight of this ruling. Uqbah ibn Amir reported that the Prophet ﷺ forbade prayer — and burying the dead — at three times: when the sun starts to rise until it’s fully up, at midday until it passes its zenith, and when the sun starts to set until it’s fully down (recorded in Sahih Muslim). Separately, Abu Sa’id al-Khudri narrated the more commonly quoted line — that there is no prayer to be offered after Fajr until the sun has fully risen, and none after Asr until the sun has set (Sahih al-Bukhari).

Three or five? Here’s why you’ll see both numbers

Some pages list five forbidden times instead of three, and it trips people up because it looks like a disagreement. It isn’t one.

The three-times count is the hadith’s framing — three distinct events: sunrise, zenith, sunset. The five-times count just splits two of those three into a “during” and an “until” — the moment of sunrise itself plus the stretch right after it, and the moment of sunset itself plus the stretch of Asr leading up to it. Same three restricted periods, counted at a finer grain. If a site tells you there are five forbidden times, check what they actually listed — it’ll map onto the same three windows every time.

Why these specific moments

The classical reasoning, repeated across the fiqh literature, is that these three moments were tied to sun worship in pre-Islamic and other traditions — people prostrating to the sun as it rose, peaked, and set. Islam draws a hard line against anything that could resemble that, so prayer is pulled back from exactly those instants.

There’s a second, more practical layer that gets less attention: two of the three windows are genuinely short, and the ruling protects the boundary of the obligatory prayer times themselves. You’re not meant to be racing the clock, starting a prayer you might not finish before a time limit closes in on you.

There’s a third layer worth sitting with, too, one that gets left out of most explanations because it’s harder to source cleanly: discipline for its own sake. Salah already has fixed times — five windows a day, none of them negotiable. The three forbidden times narrow that structure further, right at the edges, for no reason a worshipper can verify by feeling or convenience. You don’t get to decide the sun looks far enough up; you check the time. That’s arguably the actual point. A religion built around five fixed daily prayers gains something by also teaching, in a small and recurring way, that worship follows the rule rather than the mood — even when the rule costs you a few inconvenient minutes of waiting.

“Forbidden,” “prohibited,” “makruh” — the words aren’t interchangeable

Search results throw around forbidden, prohibited, and makruh like they’re synonyms, and in casual speech they mostly are. Fiqh treats them with more precision, and it’s worth knowing the difference if you’re reading a fatwa rather than a blog post. Learn Salah Online

Haram is a flat prohibition — sin, full stop, no ambiguity. Most scholars don’t actually classify voluntary prayer during these three windows as haram in that strict sense. The more accurate term, used across Hanafi texts especially, is makruh tahrimi — near-prohibited, serious enough to avoid deliberately and repent if done knowingly, but a notch below outright haram. Other schools use makruh more loosely, closer to “strongly disliked.” So when a page tells you these times are “haram to pray in,” it’s not wrong in spirit, but it’s using a stronger word than most of the fiqh actually does. If you’re searching for makruh times for salah specifically, this is what you’re looking for — it’s the same three windows, described with the more precise term. In South Asian communities, you’ll often hear this discussed under namaz rather than salah — same rulings, different word.

It’s not one rule — this is the part everyone flattens

Here’s where nearly every article on this topic gets vague, usually by accident. “Forbidden” sounds absolute. In practice, the fiqh schools don’t agree on what is forbidden during these windows, and the gap between positions is wide enough to change what you should actually do.

Hanafi position — the strictest. No prayer at all during the three windows, full stop, and that includes qada (making up a missed prayer). A missed prayer prayed inside one of these three windows is considered invalid, not just disliked, and has to be repeated once the window closes. According to Hanafi fiqh, if you’ve missed Fajr, you’d need to wait roughly twenty minutes after sunrise to make it up validly. The only carve-outs the Hanafi school allows are the current day’s Asr prayer, if you’ve already started it before sunset begins, and the funeral prayer.

The majority position — Shafi’i, Maliki, Hanbali. The majority of scholars hold that what’s actually prohibited is voluntary prayer — nawafil — not the obligatory prayers, and not makeup prayers. Under this view, if you missed Dhuhr and only remember during the after-Asr window, you pray it. The obligation overrides the dislike of the timing. The Shafi’i school narrows it further still: the restriction only covers voluntary prayers that don’t have a specific triggering cause, or ones whose cause arises afterward, like istikhara. A prayer with a cause attached to it — entering a mosque, finishing wudu — is a live debate even within that school, which brings us to the next point.

That single difference — does “forbidden” cover makeup prayers or not — is the answer to most of the practical questions people actually type into a search bar. It’s also the thing almost none of the competing articles state plainly.

The exceptions nobody explains clearly

Tahiyyat al-masjid and the sunnah of wudu. These are nafl prayers with a specific cause attached — you’re not choosing to pray extra, you’re marking an event (entering a mosque, finishing ablution). Some jurists, including ash-Shafi’i, held that these caused prayers are permitted even during the forbidden times, and this is considered the stronger view by a number of scholars; others disagreed and applied the general prohibition to all nafl prayers without distinction. If you walk into a mosque right after Asr and want to sit down without praying two rakahs first, you’re following the stricter view — and you’re not wrong to.

Entering during the Friday khutbah. In the Shafi’i school, if you walk into the mosque while the Friday sermon is already underway, you still pray the two rakahs of tahiyyat al-masjid — the Prophet ﷺ told a man who’d sat down without praying to stand up and pray two short rakahs, khutbah or no khutbah. This isn’t technically about the three forbidden times — it’s a separate ruling about talking or staying seated during the khutbah — but it gets folded into forbidden-times questions constantly, so it’s worth being precise: entering mid-khutbah and entering during the after-Asr window are two different issues that happen to overlap on a Friday afternoon.

The funeral prayer. Views split here too. Some hold it’s barred like any other nafl during the three windows; the Shafi’i view treats it like the obligatory prayers and permits it at any time, reasoning that if funeral prayer is allowed right after Fajr and right after Asr — periods where waiting would genuinely inconvenience people — there’s no consistent reason to bar it in the three short windows either.

Masjid al-Haram. Prayer inside the Sacred Mosque in Mecca isn’t restricted by the forbidden-times rule at all — you can pray non-obligatory prayers there at any hour, including the windows that would stop you anywhere else. This is specifically tied to the Haram itself, not to Mecca as a city, and it’s the exception most casual articles skip entirely, probably because it only comes up for people actually there.

Named voluntary prayers and where they actually fall

A lot of the confusion around this topic isn’t about the three windows themselves — it’s about specific named prayers people already have a habit around, and whether that habit collides with a window.

Duha. This is the prayer people trip over most, because its whole window sits right before the danger zone. Duha opens once the sun has fully cleared the horizon — so, right after the first forbidden window closes — and its valid range runs up until shortly before zenith. Praying it in the middle of that stretch, not right up against either edge, is the way to avoid the problem entirely.

Ishraq. Often used interchangeably with Duha, though some scholars treat Ishraq as the earlier end of that same window, closer to sunrise. Same rule applies: give the after-sunrise window its full 15–20 minutes before starting.

Awwabin (the prayer between Maghrib and Isha). No conflict here at all — it falls after Maghrib, well outside any of the three windows, so there’s nothing to plan around.

Tahiyyat al-masjid. Covered above under exceptions — a caused prayer, and the stronger view (Shafi’i) permits it even inside a forbidden window, though the more cautious view holds off.

The two Sunnah rakahs before Fajr. These are prayed before Fajr time even begins, so they’re nowhere near any of the three windows. No issue.

Witr. Prayed after Isha, typically late at night — outside the daytime windows entirely, same as Tahajjud.

Lay these out next to each other and the pattern is obvious: almost every named voluntary prayer Muslims actually pray regularly sits comfortably outside the three windows by design. Duha and Ishraq are the only ones that sit close enough to the edges to need real attention, which is exactly why they’re the ones people ask about.

You’re mid-prayer and the window opens. Now what?

This is the scenario nobody writes about, and it’s more common than it sounds — you start Duha with a bit of margin, misjudge it, and the sun hits its zenith while you’re still on your second rakah.

The scholarly guidance is to finish the prayer you’re in rather than break it off mid-rakah; the prohibition is on starting a prayer inside the forbidden window, not on being caught inside one you began legitimately. The practical fix sits earlier than that moment, though: don’t start a nafl prayer if there’s a real chance the window will open before you finish. If you’re within a few minutes of zenith or sunset, wait.

How to actually find these windows for your city

The sun’s position isn’t something to eyeball, and none of the ranking pages give you a real method for finding it.

Every reliable prayer-time app or website already marks Fajr, sunrise, Dhuhr, Asr, and Maghrib for your exact coordinates. From those five anchor points, the three forbidden windows are simple arithmetic:

Our guide to Muslim prayer times in the USA breaks these anchor points down city by city, which is the fastest way to check your own Fajr, Dhuhr, Asr, and Maghrib times without doing the math yourself.

A word on the zenith window specifically, since it’s the one people get wrong most often: it isn’t a fixed number of minutes the way the other two are. It scales with how long the sun takes to cross its highest point, which depends on your latitude and the season — narrower near the equator, wider the further you are from it. A prayer-time app calculates this correctly because it works from your actual coordinates; a generic “wait five minutes before Dhuhr” rule of thumb doesn’t, and it’s the single biggest reason people miscalculate this particular window.

Traveling changes things too. If you cross time zones or move to a different latitude mid-trip, don’t carry yesterday’s forbidden windows with you — pull up local sunrise, Dhuhr, and Maghrib times for wherever you actually are. This sounds obvious written down, but it’s a genuinely common slip for anyone praying Duha or a make-up prayer on a travel day.

Common mistakes people actually make

Praying Duha too close to zenith and finishing inside the forbidden window — this is the single most frequent one, because Duha’s whole appeal is the late-morning slot right before the risky window opens.

Treating a missed Fajr as urgent enough to pray the second the sun is visible on the horizon. It isn’t done rising at that point. Give it the full 15–20 minutes.

Assuming the funeral prayer or a missed obligatory prayer is barred everywhere, when in most schools it isn’t — people delay a janazah prayer unnecessarily out of caution that the majority position doesn’t actually require.

Confusing the khutbah-entry ruling with the forbidden-times ruling, as covered above — two separate questions that happen to collide on Fridays.

Why Eid prayer is scheduled the way it is

This is the clearest real-world proof that the three windows genuinely shape Islamic practice, rather than sitting in a fiqh book unused. Eid al-Fitr and Eid al-Adha prayers are deliberately scheduled after the sun has cleared the after-sunrise forbidden window — not at sunrise itself, and not the moment the sun is technically up, but with enough buffer built in. That’s why Eid prayer times consistently land somewhere in the 20-to-40-minutes-after-sunrise range depending on the mosque and the region, rather than right at the earliest permissible moment. The scheduling itself is a working example of the rule, which is a more useful way to understand it than reading the ruling in the abstract. Trustpilot Reviews

Quick answers to what people actually ask

Can I pray Tahajjud or Qiyam al-Layl at night — is that ever a forbidden time? No. Night prayer, the last third of the night, and the time before Fajr are all completely open. None of the three forbidden windows touch nighttime prayer at all; they’re strictly a daytime, sun-position issue.

Is Friday Jumu’ah itself affected by any of this? No — Jumu’ah replaces Dhuhr and is prayed at its normal time, well clear of the zenith window. The khutbah-entry question above is a separate issue about what you do the moment you walk in, not about Jumu’ah’s own timing.

What about praying qada (makeup) for a prayer other than Fajr, like a missed Isha, during one of the three windows? Same split as above: majority view says go ahead, the obligation overrides the dislike; Hanafi view says wait out the window first.

Does this apply to women praying at home the same way it applies in the mosque? Yes — the three windows aren’t tied to the mosque or to congregational prayer specifically. They apply to voluntary prayer wherever it’s offered. If you’re newer to these rulings and want them explained one-on-one, our female Quran tutors cover salah timing as part of regular lessons.

I’m not sure which of the three windows I’m in right now — what’s the safest default? If you’re unsure whether you’re inside a forbidden window, don’t start a new voluntary prayer. Wait five or ten minutes and check a prayer-time app. The downside of waiting is small; the downside of starting and being wrong is a prayer you’ll need to address afterward.

Where this actually leaves you

If you follow the Shafi’i, Maliki, or Hanbali position, the practical rule is simple: hold off on extra, uncaused prayer during the three windows, but a missed obligatory prayer, a caused prayer like tahiyyat al-masjid, and the funeral prayer aren’t affected. If you follow the Hanafi position, be stricter — wait out the full window even for a missed prayer, with the current day’s Asr and funeral prayer as the only exceptions.

Either way, the fix that actually prevents the problem is upstream of the ruling itself: know your local sunrise, zenith, and sunset times to the minute, and don’t start a voluntary prayer close enough to any of them that you might finish inside a window you meant to avoid.

Rulings like this one are easier to apply correctly with a teacher walking you through them rather than piecing them together from articles. Online Quran Academy pairs students across the USA with certified tutors for salah, tajweed, and the daily duas that fill the gaps this article mentions — including the short windows when voluntary prayer waits and dhikr takes its place. If you’d rather learn this material properly than keep googling edge cases, our online Quran classes are a better use of the next hour than another search.


Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.