
The Prayer at Its Time: The Deed Most Beloved to Allah
Abdullah ibn Mas'ud asked which deed Allah loves most. The first answer was the prayer at its time. A short reminder on Sahih al-Bukhari 527, with every hadith given its collection, number and grade.
In this article · 6
The deed most beloved to Allah (SWT) is the prayer at its time. Abdullah ibn Mas'ud asked the Prophet ﷺ which deed Allah loves most, and the first answer he received was "the prayer at its time" (Sahih al-Bukhari 527; sahih, the collection's own grade). Kindness to parents came second, and striving in the cause of Allah third.
The Question Ibn Mas'ud Asked
The hadith is short. Abdullah ibn Mas'ud said: "I asked the Prophet ﷺ: which deed is most beloved to Allah?" He ﷺ said, "The prayer at its time." Ibn Mas'ud asked what came next, and he ﷺ said, "Then kindness to parents." He asked again, and he ﷺ said, "Striving in the cause of Allah."
Then Ibn Mas'ud added a line that is easy to pass over: "He told me these, and if I had asked him for more, he would have told me more" (Sahih al-Bukhari 527). The list is not closed. But it has an order, and the prayer stands at its head.
Al-Bukhari placed this hadith in his Book of the Times of the Prayers, under a chapter on the virtue of the prayer at its time. Muslim reported it from Ibn Mas'ud too, with the words "the prayer at its appointed hour" (Sahih Muslim 85; sahih, the collection's own grade).
Notice what was asked. Not which deed is hardest, or most rewarded, or most admired by people. Which deed is most beloved to Allah. The answer is not a rare act of devotion. It is something you can do five times today.
What "At Its Time" Means
In al-Bukhari 527 the Arabic words are as-salatu 'ala waqtiha, the prayer at its time. In another of al-Bukhari's chains from Ibn Mas'ud, and in Muslim's, the wording is as-salatu li-waqtiha (Sahih al-Bukhari 7534, Sahih Muslim 85). Both tie the prayer to its own time.
The Qur'an says the same thing about every prayer:
Indeed, prayer has been decreed upon the believers a decree of specified times." Qur'an 4:103 (Saheeh International)
Each of the five has a window that opens and a window that closes. The hadith praises the prayer that is offered inside its window, as a deed in its own right. Not only the prayer, then, but the prayer and its time together.
Which moment inside the window is best for each prayer is a question this reminder leaves to your teacher. What it asks of you is simpler: that the prayer meet its time. If the line between on time, late and missed is unclear to you, praying on time vs. late sets out the three states one by one.
Why the Prayer Comes First
Al-Bukhari gave Sahih al-Bukhari 7534 a chapter title of his own: "The Prophet ﷺ called the prayer a deed." It is a small heading with a large meaning. The prayer is not only something you believe in. It is something you do, at a set hour, with your body, five times a day.
Kindness to parents and striving in the cause of Allah are great deeds. The prayer is the one with an appointment: its time comes back five times a day, wherever you are and whatever the day holds. Each return is another chance to give Allah the deed He loves most.
A prayer at its time also shapes the hours around it. When you know when Dhuhr begins, the morning has an edge. When you know when Asr closes, the afternoon has a limit. The day is no longer one long block; it is five meetings. The five daily prayers explained maps those meetings onto the day.
When the Time Slips
Hope comes first here, before any worry. The same chapter of al-Bukhari that holds this hadith is followed by one on the five prayers as an expiation. The Prophet ﷺ asked his Companions whether any dirt would remain on a man who bathed in a river at his door five times a day. "Not a trace of dirt would be left," they said.
He ﷺ said: "That is the example of the five prayers with which Allah blots out (annuls) evil deeds" (Sahih al-Bukhari 528; sahih, the collection's own grade). Each prayer is another bath in that river. A prayer you let slip yesterday does not close the door on the prayer of today.
And for the prayer that sleep carried past its time, the Prophet ﷺ said: "There is no omission in sleeping" (Sahih Muslim 681; sahih, the collection's own grade). What to do after such a morning is set out in what to do after a missed Fajr.
So the hadith is not an accusation. It is an invitation. Allah loves this deed, and He has placed it within your reach five times a day.
One Step for Today
Choose the one prayer that most often slips past its time for you. It may be Asr in the middle of work, or Fajr in the dark. Name it to yourself.
Tonight, look up when that prayer's time begins and ends where you live, for tomorrow. Write both times down, or set a reminder at the moment it begins.
If it is the phone that pushes the prayer past its time, Salah Focus in Deeny Pro keeps the apps you choose closed from the adhan until you have prayed.
Tomorrow, when that time opens, pray it inside its window. Only that prayer, only that day. If you manage it, do it again the day after. A deed most beloved to Allah does not have to start large.
If the obstacle is a timetable you do not control, a class or a shift, how to pray on time at work or school goes through it step by step.
Frequently Asked Questions
Which deed is most beloved to Allah?
When Abdullah ibn Mas'ud asked the Prophet ﷺ this question, the first answer was "the prayer at its time." Kindness to parents came second, and striving in the cause of Allah third (Sahih al-Bukhari 527; sahih, the collection's own grade).
Is the hadith "the prayer at its time" authentic?
Yes. It is in Sahih al-Bukhari (527 and 7534) and in Sahih Muslim (85), both from Abdullah ibn Mas'ud. Its grade is the grade of both collections, sahih.
What does "as-salatu 'ala waqtiha" mean?
It means "the prayer at its time": the prayer offered within the time Allah set for it. The Qur'an says that prayer has been decreed upon the believers at specified times (Qur'an 4:103).
What if I miss a prayer because I fell asleep?
The Prophet ﷺ said: "There is no omission in sleeping" (Sahih Muslim 681; sahih, the collection's own grade). He ﷺ also said that whoever sleeps through a prayer should pray it when he remembers it (Sahih Muslim 684; sahih, the collection's own grade). For your own case, such as waking as the sun rises, ask a local scholar.
Keeping a prayer at its time starts with knowing when that time opens. On iPhone, Deeny's reminders for the five prayers are free.
One app instead of three: prayer times, a lock that holds your chosen apps until you've prayed, and a Fajr alarm you can't snooze, with a tracker that shows your progress. Built by Muslims, for Muslims: no ads, your data never sold.
Sources named in this article
- Qur'an 4:103
- Sahih al-Bukhari 527
- Sahih Muslim 85
- Sahih al-Bukhari 7534
- Sahih al-Bukhari 528
- Sahih Muslim 681
- Sahih Muslim 684

Ready for a gentle return?
Deeny helps you pray on time, with accurate prayer times, reminders and the Qibla for free. Deeny Pro gently locks distracting apps until you've prayed and keeps an honest tally. No ads, no sign-up, no selling your data.
Keep reading
Islamic GuidelinesPraying On Time vs. Late: What Counts, and Why Tracking the Difference Matters
Islamic GuidelinesThe Five Daily Prayers Explained: Times, Rak'ahs, and What Each One Is
Islamic GuidelinesMissed Fajr? What to Do If You Slept Through It
How-To GuideHow to Pray on Time at Work or School: Planning Your Day Around the Five