The trust asset

Methodology

Verification status: DRAFT. Every rule below is pending sign-off by a named scholar. Until a scholar's name and verification date appear on this page, the whole product displays a PREVIEW banner and should not be relied upon. That gate is enforced in the application code, not by policy alone.

What this tool answers

Standard prayer apps answer when to pray. This tool answers the inverse: whether the current moment falls inside one of the classically defined prohibited or disliked times for prayer (awqāt al-nahy) - and it conditions the answer on what you want to pray, because the ruling genuinely differs by that.

Ruling basis

The default is evidence-based: the ruling derived directly from the Qurʾān and Sunnah, issued as one ruling for everyone rather than by school. On the prohibited times this is the position of the ahl al-hadith - anchored to Ibn Taymiyyah, Ibn Bāz, Ibn ʿUthaymīn, and al-Albānī (via IslamQA) - and it happens to coincide with the Shāfiʿī outcome on almost every cell. The core rule is simple: a prayer with a cause is allowed in every window (a due obligatory prayer, a missed prayer being made up, or any voluntary prayer with a reason such as the mosque greeting); only voluntary prayer with no cause is withheld, and the funeral prayer is best delayed a few minutes past the three sun-times unless there is need.

Two schools ship as explicit alternatives for those who follow them, and choosing one also sets the Asr time: Ḥanafī (which additionally withholds making-up and causal prayers in the strict times, and uses the later Asr) and Shāfiʿī. Mālikī and Ḥanbalī matrices are not yet shipped; the evidence-based default serves everyone in the meantime.

The six states

WindowStartEndClass
Cleareverything not covered belowpermitted baseline
After FajrFajr time entry ¹sunriseextended (nafl-restricted)
Sunrisesunrisesunrise + Psunrise (default 20 min)strict
Zenith (istiwāʾ)solar noon − Pzenith (default 10 min)Dhuhr time (zawāl passed) ²strict
After AsrAsr time entry ¹start of isfirārextended (nafl-restricted)
Sunset (isfirār)Maghrib − Pisfirar (default 20 min) ³Maghribstrict

¹ The scholarly basis is "after performing Fajr/Asr". The app cannot know whether you have prayed, so it anchors conservatively to the prayer-time entry. This convention is itself a scholar-reviewed parameter.
² The zenith window is computed from astronomical solar noon, never from a mosque adhan or timetable - mosques delay adhans. It ends when zawāl has passed (the calculated Dhuhr time).
³ Different Ḥanafī timetables use different isfirār conventions (20-40 minutes); the value is data, not code, and will be set by the reviewing scholar.

Rule matrix - Evidence-based / default (draft)

Obligatory dueMissed (qaḍāʾ)FuneralWith a causeVoluntary (no cause)
After FajrPERMITTEDPERMITTEDPERMITTEDPERMITTEDPROHIBITED
Sunrisesee ⁵PERMITTEDDISLIKEDPERMITTEDPROHIBITED
ZenithPERMITTEDPERMITTEDDISLIKEDPERMITTEDPROHIBITED
After AsrPERMITTEDPERMITTEDPERMITTEDPERMITTEDPROHIBITED
SunsetYES, with warningPERMITTEDDISLIKEDPERMITTEDPROHIBITED

⁺ The funeral prayer in the three sun-times (sunrise, zenith, sunset) is best delayed a few minutes; pray it there only if there is need (al-Albānī, Aḥkām al-Janāʾiz). The Uqbah ibn ʿĀmir hadith names burial in exactly these three moments. Everything else with a cause - the two rakʿahs of Fajr made up after it, a missed obligatory prayer, the mosque greeting, the prayer after wuḍūʾ, the ṭawāf prayer - is permitted throughout, and only causeless voluntary prayer is withheld.

Rule matrix - Ḥanafī (draft)

Today's fardMissed (qaḍāʾ)FuneralMosque greeting (causal nafl)Voluntary (pure nafl)
After FajrPERMITTEDPERMITTEDPERMITTEDPROHIBITEDPROHIBITED
Sunrisesee ⁵PROHIBITED (invalid)DISLIKEDPROHIBITEDPROHIBITED
ZenithPERMITTEDPROHIBITED (invalid)DISLIKEDPROHIBITEDPROHIBITED
After AsrPERMITTEDPERMITTEDPERMITTEDPROHIBITEDPROHIBITED
SunsetYES, with warningPROHIBITED (invalid)DISLIKEDPROHIBITEDPROHIBITED

⁴ Ḥanafī fiqh classes this makrūh taḥrīmī (near-prohibited); the app renders it as "NO" with the makrūh-taḥrīmī note. The two rakʿahs of the Fajr sunnah are an explicit exception before Fajr is prayed.
⁵ Fajr's time ends at sunrise. A user in the sunrise window who has not prayed Fajr is told to pray it as qaḍāʾ after the sun has fully risen - never shown a bare "NO".
⁶ A funeral prayer in the strict windows is disliked if the funeral was ready beforehand, permitted if it became ready within the window.
⁷ No obligatory prayer's window naturally falls at the zenith; the cell is defined defensively as permitted.
⁸ That day's unperformed Asr must still be prayed before Maghrib: the delay was sinful, the prayer is valid and obligatory.

Rule matrix - Shāfiʿī (draft)

Today's fardMissed (qaḍāʾ)FuneralMosque greeting (causal nafl)Voluntary (pure nafl)
All five windowsPERMITTEDPERMITTEDPERMITTEDPERMITTEDPROHIBITED (invalid)

In the Shāfiʿī school, prayers with a cause (qaḍāʾ, janāzah, taḥiyyat al-masjid, the sunnah of wuḍūʾ) are valid in the prohibited times; only pure voluntary prayer without a cause is barred. Two exceptions: Friday at the zenith carries no prohibition at all, and within the Makkan Ḥaram no time is prohibited. The Makkah setting is user-controlled and never assumed from GPS.

Mālikī and Ḥanbalī matrices are planned; the data schema already carries slots for them.

Astronomy

High latitudes

Above roughly 55° latitude in summer the windows distort, and above the polar circles some events do not occur. When the astronomy cannot resolve an event for your date and location, the app says so honestly and shows no verdict - it never invents a window. Residents of such latitudes should follow local scholarly guidance.

Boundary behaviour

Within ±60 seconds of any boundary the app shows "starting now / ending now" instead of flickering between verdicts. The verdict itself changes exactly at the computed boundary.

Hard safety rule

A wrong "NO" that stops someone from praying an obligatory prayer is the worst failure this product can have. The engine therefore enforces, as an invariant: when you select "Today's fard" while that prayer's time is running, the answer is never a bare prohibition - it is either permitted, permitted-with-warning (the sunset Asr case), or the Fajr-expired guidance to pray qaḍāʾ after sunrise.

Verification & versioning

Rule sets are versioned data files, not code: hanafi-0.1.0-draft and shafii-0.1.0-draft. Each rule cell and each boundary parameter carries its basis and a verified_by/verified_at field, currently empty. When a named scholar signs the matrix, this page will carry their name, the verification date, and the re-review cadence (proposed: annual, or on any parameter change), and only then does the PREVIEW banner come down.

Operated by Asymm Systems (Pvt) Ltd. Scholars interested in reviewing the matrix: [email protected].