Back to Directory

The Science of Asr Prayer Times: Shadow Ratio Trigonometry, Hadith of Jibril, and the Shafi’i vs. Hanafi Juristic Matrix

Among the five obligatory daily prayers in Islam, Salat al-Asr (صلاة العصر) holds a distinctive place in classical celestial astronomy. While Fajr and Maghrib are determined by solar horizon twilight and sunset, Asr is defined entirely through the geometric physics of cast shadows. Understanding why the Shafi’i and Hanafi juristic schools arrive at different times and how the midday baseline shadow dictates accurate prayer onsets unlocks centuries of Islamic astronomical ingenuity.

⚡ Calculate Precise Dual Asr Times for Your City

Explore real-time Shafi’i (1x) and Hanafi (2x) Asr start times, simulate shadow growth on an interactive virtual gnomon, and download recurring calendar reminders.


Launch Universal Asr Time Calculator & Studio ↗

1. The Primary Source: The Hadith of Angel Jibril’s Imamat

The timing for all daily prayers was fundamentally codified during the miraculous visit of Archangel Jibril (Gabriel) to the Prophet Muhammad ﷺ at the Holy Ka’bah. Over two consecutive days, Jibril led the Prophet ﷺ in prayer at the exact beginning and terminal boundaries of each permissible prayer window.

«أَمَّنِي جِبْرِيلُ عَلَيْهِ السَّلَام عِنْدَ البَيْتِ مَرَّتَيْنِ… فَصَلَّى بِيَ العَصْرَ حِينَ كَانَ كُلُّ شَيْءٍ مِثْلَ ظِلِّهِ، ثُمَّ صَلَّى بِيَ الغَدَ العَصْرَ حِينَ كَانَ كُلُّ شَيْءٍ مِثْلَيْ ظِلِّهِ… ثُمَّ التَفَتَ إِلَيَّ فَقَالَ: يَا مُحَمَّدُ، هَذَا وَقْتُ الأَنْبِيَاءِ مِنْ قَبْلِكَ، وَالوَقْتُ مَا بَيْنَ هَذَيْنِ الوَقْتَيْنِ»
“Angel Jibril led me in prayer twice at the House (Ka’bah)… On the first day, he prayed Asr when the shadow of everything became equal to its height. Then on the following day, he prayed Asr when the shadow of everything became twice its height… Then he turned to me and said: ‘O Muhammad, this is the time of the Prophets before you, and the permissible prayer time is between these two boundaries.'”

Jami` at-Tirmidhi (149), Sunan Abi Dawud (393); Sahih.

This primary hadith serves as the foundational cornerstone for all Islamic horology. However, the exact juristic interpretation of these two instances led to the well-known divergence between the majority juristic schools (Jumhur) and the traditional Hanafi school. You can visually inspect how these two points unfold across any day using our Universal Asr Time Calculator & Shadow Studio.

2. Jumhur (1x Shadow) vs. Hanafi (2x Shadow): Understanding the Fiqh Matrix

Muslim jurists analyzed whether Day 1 and Day 2 represented the start of two separate valid time windows or the start and end of a single preferred window.

Dimension Standard School (Shafi’i, Maliki, Hanbali) Traditional Hanafi School
Shadow Formula Shadow = S₀ + 1G Shadow = S₀ + 2G
Juristic Rationale Day 1 of Jibril marks the exact start of Asr. The Prophet ﷺ said: “The time of Dhuhr continues until Asr arrives, which is when a man’s shadow equals his length” (Sahih Muslim 612). Day 2 marks the start of the guaranteed Asr time according to Imam Abu Hanifah (*Zahir al-Riwayah*), ensuring that Dhuhr has concluded beyond all doubt (*Yaqeen*).
Multiplier ($T$) $T = 1$ (One rod height) $T = 2$ (Two rod heights)
Geographic Prevalence Hijaz, North Africa, Southeast Asia, Levant, Americas South Asia (Pakistan, India, Bangladesh), Turkey, Central Asia
Disciples’ View Consensus among Jumhur Imams Imam Abu Yusuf and Imam Muhammad al-Shaybani (chief disciples) agreed with the 1x Jumhur position!

Due to this divergence, there is typically a 40-to-75 minute gap between the Standard Asr adhan and the Hanafi Asr adhan, depending on your geographic latitude and the season of the year. To see both timings side by side for your exact coordinate, open the Asr Time Calculator on RiazHub.

3. The Astronomical Trigonometry: Why the Midday Shadow ($S_0$) is Essential

A frequent misconception among lay observers is that Asr begins when an object’s shadow is simply equal to its height. In reality, that is only true at the equator on the equinox! In almost all regions on earth, the sun is never directly at the 90° zenith at noon.

☀️ What is Fa’i az-Zawal (فيء الزوال)?

At exact Solar Noon (Zawal), the sun reaches its highest meridian altitude for the day. The shadow cast at this moment is the minimum midday baseline shadow ($S_0$). Because this shadow existed before the afternoon decline began, Islamic scholars established that $S_0$ must be subtracted or added as a base constant before measuring the shadow multiples.

The mathematical shadow formulation is defined as:

Shadow Length (S_asr) = S₀ + (T × Object Height)

Where:

  • S₀ = tan |φ – δ|: Midday shadow ratio of a unit vertical gnomon rod, where φ is your latitude and δ is the solar declination angle.
  • T = 1 for Shafi’i, Maliki, and Hanbali schools.
  • T = 2 for the traditional Hanafi juristic school.
  • The critical solar altitude angle α_asr is calculated via:

    α_asr = arccot(T + S₀) = arctan(1 / (T + tan|φ – δ|))

From the solar altitude α_asr, classical spherical trigonometry derives the hour angle H_asr, producing the exact local clock time of the prayer down to the second. To see these angles rendered dynamically with animated sun rays, try the 2D Gnomon Shadow Stage on the online Asr Time Calculator.

4. The Disliked Time (Karahah) and the Golden Hour

Islamic jurisprudence strictly distinguishes between the preferred time (*Waqt al-Ikhtiyar*) and the disliked time (*Waqt al-Karahah*) for Salat al-Asr. As the sun begins to descend near the horizon approximately 30 to 45 minutes before Maghrib the light shifts from bright white to pale yellow and reddish orange.

The Prophet Muhammad ﷺ sternly warned against delaying Asr into this period without a valid necessity:

“That is the prayer of the hypocrite: he sits watching the sun until it is between the horns of Satan, then he stands and pecks four rak’ahs, remembering Allah only a little.” (Sahih Muslim 622)

Astronomically, this corresponds to when the sun’s elevation angle dips below approximately 4.5° above the western horizon. Our Asr Time Calculator & Horology HUD automatically displays this Karahah threshold in its Full-Day Horizon Matrix so you never miss the optimal window.

5. How to Determine Asr Without Clocks (The Traditional Gnomon Method)

If you find yourself in the outdoors or traveling without access to digital devices, you can determine Asr using the authentic Sunnah method:

  1. Plant a straight stick (Gnomon) perpendicular to flat, level ground before solar noon.
  2. Mark the shortest shadow: Watch the shadow shorten as midday approaches. The precise moment the shadow stops shrinking and begins growing again is Solar Noon (Zawal). Mark this minimum length on the ground this is your $S_0$.
  3. Measure the stick’s height ($G$): Using a piece of string or tape, measure the height of the stick above the ground plane.
  4. Set the Shafi’i mark: Add 1x the stick’s height to the $S_0$ baseline mark ($S_0 + 1G$). When the shadow tip touches this point, Standard Asr has begun!
  5. Set the Hanafi mark: Add 2x the stick’s height to the $S_0$ baseline mark ($S_0 + 2G$). When the shadow reaches this point, Hanafi Asr has begun.

🛠️ Features of the RiazHub Universal Asr Calculator
  • 1-Click GPS Coordinate Ingestion: Seamlessly detects latitude, longitude, and elevation with zero data transmitted to servers.
  • Virtual Gnomon Rod Simulator: Adjust stick height from 20cm to 200cm to see the exact centimeter shadow growth.
  • Precision Live Countdown HUD: Real-time ticking timer tracking seconds remaining until the next prayer milestone.
  • Monthly 30-Day Horology Matrix: Forecast seasonal shifts in shadow length and prayer times across the month.
  • 1-Click iCalendar (.ics) Sync: Add recurring Asr adhan notifications with 15-minute alerts to Apple Calendar, Google Calendar, or Outlook.
  • High-Res Social Card Generator: Export 1200×630 shareable prayer cards featuring gold calligraphy and Hadith quotes.

Ready to check your local Asr window today? Access the complete suite directly on RiazHub:


⚡ Open the Universal Asr Time Calculator & Studio ↗

References: Sahih al-Tirmidhi (Hadith 149), Sahih Muslim (Hadith 612 & 622), Sunan Abi Dawud (Hadith 393), Jean Meeus’ Astronomical Algorithms, and Islamic Fiqh Academy consensus documents.

Pure In-Browser Horology Engine

Universal Asr Time Calculator & Shadow Studio

حَاسِبَةُ وَقْتِ صَلَاةِ العَصْرِ وَفَيْءِ الزَّوَالِ

Precision astronomical prayer horology studio computing exact Shafi'i (1x) and Hanafi (2x) Asr onsets, virtual gnomon shadow trigonometry, live ticking adhan HUD, and calendar sync.

Standard (Shafi'i/Maliki/Hanbali)
--:--
Shadow ratio: S₀ + 1G (T = 1)
Hanafi Juristic School
--:--
Shadow ratio: S₀ + 2G (T = 2)
Live Horology Status
Computing...
Next prayer window telemetry
Midday Shadow (S₀)
--
Solar Noon (Zawal) Baseline
Quick Profiles:
Ticking Horology Feed
00:00:00
Waiting for next prayer milestone...
Shafi'i / Maliki / Hanbali Shadow 1x + S₀
--:--

Calculated on onset

Hanafi Juristic School Shadow 2x + S₀
--:--

Calculated on onset

Solar Noon (Zawal) --:--
Solar Declination (δ) --°
Noon Baseline Shadow (S₀) -- cm
Sunset (Maghrib) --:--
Gnomon (1G) Zawal (S₀) Shafi'i (S₀ + 1G) Hanafi (S₀ + 2G)
Trigonometric Insight: The blue vertical rod is the gnomon. At solar noon (Zawal), the sun casts its shortest baseline shadow (S₀). When the shadow extends by exactly the height of the rod (1G), the Standard Asr begins. When it extends by twice the height (2G), Hanafi Asr begins.
Prayer / Milestone Arabic Exact Time Astronomical Condition

* Times derived from spherical solar ephemeris with standard civil refraction (-0.8333° for sunrise/sunset, 18° Fajr angle).

Date Solar Noon Shafi'i (1x) Hanafi (2x) Sunset (Maghrib) Noon Shadow Ratio

Fiqh of Asr, Hadith of Jibril & Solar Shadow Mathematics

1. The Authentic Hadith of Angel Jibril (Gabriel) & Prayer Windows
«أَمَّنِي جِبْرِيلُ عَلَيْهِ السَّلَام عِنْدَ البَيْتِ مَرَّتَيْنِ... فَصَلَّى بِيَ العَصْرَ حِينَ كَانَ كُلُّ شَيْءٍ مِثْلَ ظِلِّهِ، ثُمَّ صَلَّى بِيَ الغَدَ العَصْرَ حِينَ كَانَ كُلُّ شَيْءٍ مِثْلَيْ ظِلِّهِ... ثُمَّ قَالَ: يَا مُحَمَّدُ، هَذَا وَقْتُ الأَنْبِيَاءِ مِنْ قَبْلِكَ، وَالوَقْتُ مَا بَيْنَ هَذَيْنِ الوَقْتَيْنِ»

Narrated in Sahih al-Tirmidhi (149), Sunan Abi Dawud (393), and authenticated across classical collections: The Archangel Jibril descended to demonstrate the prayers to Prophet Muhammad ﷺ. On the first day, he led Asr when the shadow of an object equaled its height (T = 1). On the second day, he led Asr when the shadow of an object became twice its height (T = 2). He then announced: "O Muhammad, this is the time of the Prophets before you, and the time is between these two limits."

2. Juristic Schools: Jumhur (1x Shadow) vs. Imam Abu Hanifah (2x Shadow)

The Jumhur (Majority) Position (Imam Malik, Imam al-Shafi'i, Imam Ahmad ibn Hanbal): Asr begins immediately when the shadow of an object equals its midday shadow (S₀) plus one times the object's height (S = S₀ + 1G). They cite Day 1 of Jibril's Imamat and the authentic hadith: "The time of Dhuhr continues until Asr arrives, which is when the shadow of a man is equal to his length" (Sahih Muslim 612).

The Traditional Hanafi Position (Zahir al-Riwayah of Imam Abu Hanifah): Asr begins when the shadow reaches twice the length plus midday baseline (S = S₀ + 2G). This position ensures absolute certainty (*Yaqeen*) that the Dhuhr window has completely closed without any doubt. Notably, the two chief disciples of Abu Hanifah (Imam Abu Yusuf and Imam Muhammad al-Shaybani) agreed with the Jumhur 1x position.

3. Why the Midday Baseline Shadow (S₀ / فيء الزوال) Must Be Added

At exact Solar Noon (Zawal / زوال), the sun reaches its highest meridian altitude. Unless an observer is in the tropics on the exact day of the solar zenith (where the sun is directly 90° overhead), a vertical gnomon casts a non-zero shadow northward or southward.

Islamic jurists established that this minimum noon shadow—known mathematically as S₀ = tan|φ - δ|—belongs to the midday zenith and cannot count toward the object's body shadow. Therefore, the shadow length threshold for Asr must always be calculated as:

Shadow Length at Asr = S₀ + (T × Object Height)
4. Karahah (Disliked Time): The Yellowing Horizon & Golden Hour

The preferred time (*Waqt al-Ikhtiyar*) for Asr extends until the sun starts turning pale yellow before sunset. Delaying Asr until the sun is setting without a valid excuse is strictly disliked (*Makruh Tahrimi*):

«تِلْكَ صَلَاةُ المُنَافِقِ، يَجْلِسُ يَرْقُبُ الشَّمْسَ حَتَّى إِذَا كَانَتْ بَيْنَ قَرْنَيِ الشَّيْطَانِ، قَامَ فَنَقَرَهَا أَرْبَعًا، لَا يَذْكُرُ اللَّهَ فِيهَا إِلَّا قَلِيلًا»

"That is the prayer of the hypocrite: he sits watching the sun until it is between the horns of Satan, then he stands and pecks four rak'ahs, remembering Allah only a little" (Sahih Muslim 622).

Action completed successfully
🌐 Visitor Statistics
0
Today
0
This Month
0
Previous Month
0
Total Visits