Muslims pray five times a day because they believe God commanded it. According to authentic hadith, the five daily prayers were made obligatory during the Prophet Muhammad's Night Journey and Ascension to heaven, when an original command of fifty prayers was reduced to five, with the reward of fifty. The Quran also describes prayer at set times of day.

Muslims see these prayers as appointments with God spread through the day: at dawn, midday, afternoon, sunset and night. For colleagues, classmates and neighbors who notice a Muslim stepping away to pray, this guide explains where the practice comes from, what the five prayers are called, why Muslims face Makkah, why many use a prayer rug, and how prayer fits into work and school.

Key takeaways

  • The five daily prayers were commanded during the Night Journey and Ascension (al-Isra' wal-Mi'raj), when fifty prayers were reduced to five carrying the reward of fifty (Sahih al-Bukhari 349).
  • The Quran says "prayer has been decreed upon the believers a decree of specified times" (Quran 4:103).
  • The five prayers are Fajr, Dhuhr, Asr, Maghrib and Isha, and each has its own time window tied to the sun's position.
  • Muslims pray facing the Kaaba in Makkah, a direction set in Quran 2:144; they faced Jerusalem for sixteen or seventeen months before that (Sahih al-Bukhari 40).
  • The Prophet compared the five prayers to bathing in a river five times a day, which washes away sins (Sahih al-Bukhari 528).

Where does the command to pray five times a day come from?

The answer starts with one night in the Prophet's life. Muslims believe that God took the Prophet Muhammad (peace be upon him) from Makkah to Jerusalem in a single night, a journey called the Isra', and then up through the heavens, called the Mi'raj. The Quran opens Surah al-Isra with it:

Exalted is He who took His Servant by night from al-Masjid al-Haram to al-Masjid al-Aqsa, whose surroundings We have blessed, to show him of Our signs. Indeed, He is the Hearing, the Seeing.

— Quran 17:1

The most commonly cited date is about a year before the Prophet's migration to Madinah in 622 CE, though early sources differ. You can see where it falls in the Prophet's life on the Quran Universe timeline.

From fifty prayers to five

The detail of the prayers comes from the hadith. In Sahih al-Bukhari 349, the Prophet describes how God first commanded fifty prayers a day for his community. On the way back, the Prophet Moses told him his followers would not be able to bear it and urged him to ask for less. The Prophet returned several times, and the number was reduced until it reached five.

God then declared that these five carry the reward of fifty, "for My Word does not change." Muslims take two lessons from this story: prayer is so important that it was given directly in heaven, not through the angel Gabriel on earth, and God made it easy to carry while keeping its full reward.

What the Quran says about prayer times

The Quran does not list the five prayers by name in one verse, but it refers to their times in several places. For example:

Establish prayer at the decline of the sun [from its meridian] until the darkness of the night and [also] the Qur'an of dawn. Indeed, the recitation of dawn is ever witnessed.

— Quran 17:78

Other verses mention prayer "at the two ends of the day and at the approach of the night" (Quran 11:114) and glorifying God in the evening, morning and at noon (Quran 30:17–18). The Prophet's practice set out the exact number of prayers, their times and their form. Prayer is the second of the five pillars of Islam.

What are the names of the five daily prayers?

Each prayer is named for its time of day. Times move through the year with the sun, so Muslims use a local timetable or app rather than a fixed clock time.

PrayerMeaning of the nameWhen it is prayedObligatory units
FajrDawnFrom first light until sunrise2
DhuhrMiddayJust after the sun passes its highest point4
AsrAfternoonMid to late afternoon, until sunset4
MaghribSunsetJust after sunset until twilight fades3
IshaNightAfter twilight has gone, until the middle of the night or dawn4

The schools differ slightly on some timings. For example, most scholars begin Asr when an object's shadow equals its own length (plus its noon shadow), while the Hanafi school waits until the shadow is twice the object's length, which can make Asr start up to an hour later.

On Fridays, the midday prayer is replaced for men by the congregational Jumu'ah prayer, with a short sermon, based on Quran 62:9. Travelers may shorten four-unit prayers to two (Quran 4:101).

How long does each prayer take?

An obligatory prayer usually takes around five to ten minutes, including wudu, the washing beforehand. Our step-by-step guides explain how to perform wudu and how to pray salah.

Why do Muslims pray towards Mecca?

Muslims everywhere pray facing the Kaaba, the cube-shaped house of worship in the Sacred Mosque in Makkah (Mecca). The direction is called the qibla (qiblah, قبلة). Muslims believe the Kaaba was built by the Prophet Abraham and his son Ishmael as the first house dedicated to the worship of one God. Our guide to what the Kaaba is covers its history.

In the early years, Muslims prayed toward Jerusalem. After the move to Madinah, they faced Jerusalem for sixteen or seventeen months (Sahih al-Bukhari 40), until a verse changed the qibla to Makkah:

We have certainly seen the turning of your face, [O Muhammad], toward the heaven, and We will surely turn you to a qiblah with which you will be pleased. So turn your face toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces toward it [in prayer].

— Quran 2:144

Muslims do not worship the Kaaba. It is a focal point that gives millions of people one shared direction, so that a worshipper in Chicago, Lagos and Jakarta faces the same place.

Do Muslims face east when praying?

Not exactly. Muslims face Makkah, not a compass point. From Europe the qibla is roughly southeast, from most of North America it is northeast, and from South Asia it is west. The Quran says "To Allah belongs the east and the west" (Quran 2:142), making clear that what matters is obedience, not a direction in itself.

Why do Muslims pray on a rug?

A prayer rug (sajjadah) is a convenience, not a requirement. The real requirement is that the place of prayer is clean, because Muslims touch the ground with their foreheads. The Prophet said that the earth itself had been made "a place for praying" for his community, so any clean spot can be a mosque (Sahih al-Bukhari 335).

A rug guarantees a clean surface on any floor, from an office carpet to a park. Many rugs have an arch design that points toward the qibla, which helps the worshipper line up. Muslims also pray directly on clean floors, grass or sand.

Praying at work and school

Some prayers, especially Dhuhr and Asr, often fall during working or school hours. A Muslim usually needs a few minutes, a clean and quiet space, and access to water to wash. Because each prayer has a time window, it can often be fitted around meetings or classes.

In the United States, Title VII of the Civil Rights Act requires employers to reasonably accommodate religious practice, such as short prayer breaks, unless it would cause undue hardship, according to the U.S. Equal Employment Opportunity Commission. Many universities and workplaces now provide quiet or multi-faith rooms.

For managers and teachers, simple steps go a long way: a quiet room, flexibility of ten minutes, and understanding on Fridays around midday. Muslims who cannot pray on time for a genuine reason may, in most schools, combine certain prayers, and anyone who misses a prayer makes it up later.

What is the purpose of praying five times a day?

For Muslims, the five prayers are not about God needing worship. They are about the person needing God. The Quran gives several purposes.

Remembering God through the day

Indeed, I am Allah. There is no deity except Me, so worship Me and establish prayer for My remembrance.

— Quran 20:14

Prayer breaks the day into parts, each one beginning with a pause to remember God. Our guide on what dhikr is explains how remembrance continues outside prayer.

Restraining wrongdoing

Recite, [O Muhammad], what has been revealed to you of the Book and establish prayer. Indeed, prayer prohibits immorality and wrongdoing, and the remembrance of Allah is greater. And Allah knows that which you do.

— Quran 29:45

Standing before God five times a day is meant to shape behavior between prayers.

Cleansing the soul

The Prophet asked his companions whether any dirt would remain on a person who bathed in a river at their door five times a day. They said none would, and he said that is the example of the five prayers, by which God wipes away sins (Sahih al-Bukhari 528).

Patience, calm and connection

The Quran tells believers to "seek help through patience and prayer" (Quran 2:45). Many Muslims describe prayer as the calmest part of their day, and as the most direct way to get closer to God.

The prayers are also a serious duty. In Sahih Muslim 82, the Prophet said that what stands between a person and disbelief is abandoning the prayer, which is why practicing Muslims guard them so carefully.

Read the verses about prayer on Quran Universe

You can read every verse quoted here on Quran Universe with the Arabic text, word-by-word meaning and Tafsir Ibn Kathir. Start with the Night Journey in Surah al-Isra, the prayer times in Quran 17:78, and the change of qibla in Surah al-Baqarah 2:144.

Frequently asked questions

Why do Muslims pray 5 times a day?

Muslims pray five times a day because they believe God commanded it. Hadith in Sahih al-Bukhari describe God prescribing fifty daily prayers during the Prophet's Night Journey, then reducing them to five with the reward of fifty. The Quran says prayer is "decreed upon the believers" at "specified times" (4:103). Muslims see the prayers as regular reminders of God throughout the day.

What are the names of the five daily prayers?

The five daily prayers are Fajr (dawn), Dhuhr (midday), Asr (afternoon), Maghrib (sunset) and Isha (night). Together they contain 17 obligatory units of prayer: 2, 4, 4, 3 and 4. Their exact times shift through the year with the sun, so Muslims use a local timetable. On Fridays, men attend the Jumu'ah prayer in place of Dhuhr.

Why do Muslims pray towards Mecca?

Muslims pray toward the Kaaba in Makkah because the Quran commands it in verse 2:144. Muslims believe the Kaaba was built by Abraham and Ishmael as a house for worshipping one God. It gives Muslims worldwide one shared direction. Muslims do not worship the Kaaba itself; it is a focal point for worship of God alone.

Do Muslims face east when they pray?

Muslims face Makkah, not east. The direction depends on where you are: roughly southeast from Europe, northeast from most of North America, and west from South Asia. The Quran states that "to Allah belongs the east and the west" (2:142), meaning that the direction matters because God set it, not because of any compass point.

Why do Muslims pray on a rug?

Muslims pray on a rug to make sure the place of prayer is clean, since the forehead touches the ground in prostration. A rug is not required. The Prophet said the whole earth was made a place of prayer for his community (Sahih al-Bukhari 335), so Muslims can pray on any clean floor, grass or sand.