The night prayer (Tahajjud or Qiyam-ul-Layl) is described in the Quran and Sunnah as one of the most beloved acts of worship to Allah Almighty. In Surah Al-Isra, Allah commands: “And from [part of] the night, pray with it as additional worship for you; it is expected that your Lord will resurrect you to a praised station” (17:79). Among the hours of the night, none is more blessed or spiritually potent than the Last Third of the Night (Thuluth al-Layl al-Akhir).
The Divine Descent in the Last Third
The special status of this hour is detailed in the celebrated Sahih Hadith narrated by Abu Hurairah (may Allah be pleased with him):
“Our Lord, the Blessed and Exalted, descends every night to the nearest heaven when one-third of the night remains, saying: ‘Who calls upon Me that I may answer him? Who asks of Me that I may give him? Who seeks My forgiveness that I may forgive him?'” (Sahih al-Bukhari, Sahih Muslim).
This divine invitation occurs every single night without exception. Duas made at this time are likened by Imam ash-Shafi’i to an arrow that does not miss its target.
The Mathematical Formula for Calculating the Islamic Night
Many people mistakenly assume the night begins at midnight or follows clock conventions (e.g. 12:00 AM). In Islamic jurisprudence, however, the night is defined from Sunset (Maghrib) until True Dawn (Fajr).
Step-by-Step Calculation Formula:
- Find Sunset (Maghrib Time): Note the exact Maghrib time for your city. Example: 6:30 PM (18:30).
- Find Dawn (Fajr Time): Note the exact Fajr time for the following morning. Example: 5:00 AM (05:00).
- Calculate Total Night Duration: Subtract Maghrib from Fajr across midnight. From 6:30 PM to 5:00 AM is 10 hours and 30 minutes (630 minutes total).
- Divide by 3: Divide total night duration by 3. 630 minutes ÷ 3 = 3 hours and 30 minutes per third.
- Determine the Three Segments:
- First Third: 6:30 PM to 10:00 PM
- Second Third: 10:00 PM to 1:30 AM
- Last Third (Tahajjud Window): 1:30 AM to 5:00 AM
In this example, the optimal window for Tahajjud and intimate Dua begins precisely at 1:30 AM and continues until Fajr begins at 5:00 AM.
Fiqh Rules and Etiquettes of Tahajjud
- Sleeping Beforehand: Technically, Tahajjud is derived from Hujud (waking up after sleep). While voluntary night prayer without sleeping beforehand is rewarded as Qiyam-ul-Layl, sleeping and then waking up in the night carries the specific virtue of Tahajjud.
- Minimum and Maximum Rak’ahs: The minimum Tahajjud prayer is 2 Rak’ahs. The Prophet (peace be upon him) typically prayed 8 Rak’ahs followed by 3 Rak’ahs of Witr, praying in sets of two.
- Concluding with Witr: The Prophet (peace be upon him) instructed: “Make the last of your prayer at night Witr” (Sahih al-Bukhari). If you have already prayed Witr before sleeping, you may still pray voluntary Tahajjud in pairs of two without repeating Witr.
Automatic Tahajjud Tracking on Salatify
To eliminate manual calculations, Salatify automatically calculates and displays the exact starting time of the Last Third of the Night on our daily prayer grid for every city worldwide, helping you plan your sleep and spiritual schedule effortlessly.