How Many Rak'ahs Is Maghrib?
Maghrib is 5 rak'ahs: 3 fard, then 2 sunnah.
| Prayer | Sunnah before | Fard | Sunnah after |
|---|---|---|---|
| Maghrib | – | 3 | 2 |
How to pray it
This is the two-rak'ah Fajr prayer. Longer prayers repeat the same rak'ah; the last steps explain how. Recite quietly, moving your lips; in Fajr, Maghrib and Isha the imam recites aloud in the first two rak'ahs. Stay still for a moment in every position: the Prophet ﷺ told a man who rushed his prayer to go back and pray again (Bukhari 757). Women pray the same way; the schools note small differences in posture.
Stand and intend
Stand facing the qibla, and in your heart intend the prayer, for example the two rak'ahs of Fajr.
Opening takbir
Raise your hands and say Allahu akbar. From now on you are in the prayer.
Takbir
اللَّهُ أَكْبَرُ
Allahu akbar
Allah is the Greatest.
Bukhari 789 · Abu Dawud 874
Where the schools differ: Hands are raised to the ears or to the shoulders; both are narrated. Hanafi men raise them to the ears; the other schools, and Hanafi women, mostly to the shoulders.
Fold your hands
Place your right hand over your left.
Where the schools differ: Hanafis and Hanbalis place them below the navel, Shafi'is between the chest and the navel, and many Malikis let the arms hang at the sides. Hanafi women place them on the chest.
Opening supplication
Quietly praise Allah before reciting.
Subhanaka Allahumma (Opening Dua)
سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ وَتَبَارَكَ اسْمُكَ وَتَعَالَى جَدُّكَ وَلَا إِلَهَ غَيْرُكَ
Subhanakallahumma wa bihamdik, wa tabarakasmuk, wa ta'ala jadduk, wa la ilaha ghayruk
Glory be to You, O Allah, and praise. Blessed is Your name, exalted is Your majesty, and there is no god but You.
Abu Dawud 776 · Tirmidhi 243
Allahumma Ba'id Bayni (Opening Dua)
اللَّهُمَّ بَاعِدْ بَيْنِي وَبَيْنَ خَطَايَايَ كَمَا بَاعَدْتَ بَيْنَ الْمَشْرِقِ وَالْمَغْرِبِ، اللَّهُمَّ نَقِّنِي مِنَ الْخَطَايَا كَمَا يُنَقَّى الثَّوْبُ الْأَبْيَضُ مِنَ الدَّنَسِ، اللَّهُمَّ اغْسِلْ خَطَايَايَ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ
Allahumma ba'id bayni wa bayna khatayaya kama ba'adta baynal-mashriqi wal-maghrib. Allahumma naqqini minal-khataya kama yunaqqath-thawbul-abyadu minad-danas. Allahummaghsil khatayaya bil-ma'i wath-thalji wal-barad
O Allah, put as much distance between me and my sins as You have put between the east and the west. O Allah, cleanse me of sins as a white garment is cleansed of dirt. O Allah, wash away my sins with water, snow and hail.
Bukhari 744
Where the schools differ: Hanafis and Hanbalis say Subhanaka. Shafi'is usually say another authentic opening, such as "Wajjahtu wajhiya" (Muslim 771). Malikis say none in obligatory prayers.
Seek refuge, say Bismillah
Quietly, before al-Fatiha.
Seeking refuge (ta'awwudh)
أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
A'udhu billahi minash-shaytanir-rajim
I seek refuge in Allah from the accursed Satan.
Bukhari 6115
Basmala
بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ ﴿١﴾
Bismillahir-rahmanir-rahim
In the name of Allah, the Entirely Merciful, the Especially Merciful.
Qur'an, Al-Fatihah 1:1 · Translation: Saheeh International
Where the schools differ: Hanafis say the basmala quietly before al-Fatiha in each rak'ah; Shafi'is count it as the first verse of al-Fatiha.
Recite al-Fatiha
Then say Amin.
Al-Fatiha
بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ ﴿١﴾ ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ ﴿٢﴾ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ ﴿٣﴾ مَٰلِكِ يَوْمِ ٱلدِّينِ ﴿٤﴾ إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ ﴿٥﴾ ٱهْدِنَا ٱلصِّرَٰطَ ٱلْمُسْتَقِيمَ ﴿٦﴾ صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ ٱلْمَغْضُوبِ عَلَيْهِمْ وَلَا ٱلضَّآلِّينَ ﴿٧﴾
Bismillahir-rahmanir-rahim. Alhamdu lillahi rabbil-'alamin. Ar-rahmanir-rahim. Maliki yawmid-din. Iyyaka na'budu wa iyyaka nasta'in. Ihdinas-siratal-mustaqim. Siratalladhina an'amta 'alayhim, ghayril-maghdubi 'alayhim wa lad-dallin
In the name of Allah, the Entirely Merciful, the Especially Merciful. [All] praise is [due] to Allah, Lord of the worlds - The Entirely Merciful, the Especially Merciful, Sovereign of the Day of Recompense. It is You we worship and You we ask for help. Guide us to the straight path - The path of those upon whom You have bestowed favor, not of those who have evoked [Your] anger or of those who are astray.
Qur'an, Al-Fatihah 1:1-7 · Translation: Saheeh International
Where the schools differ: Shafi'is, Malikis and Hanbalis hold al-Fatiha obligatory in every rak'ah; Hanafis hold it necessary (wajib) in the first two. Behind an imam, Hanafis listen in silence, while Shafi'is recite it themselves. Hanafis say Amin quietly; Shafi'is and Hanbalis say it aloud in prayers recited aloud.
Recite a surah
In the first two rak'ahs, after al-Fatiha, recite a short surah or at least three short verses, for example al-Ikhlas.
Al-Ikhlas, a short surah
بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ قُلْ هُوَ ٱللَّهُ أَحَدٌ ﴿١﴾ ٱللَّهُ ٱلصَّمَدُ ﴿٢﴾ لَمْ يَلِدْ وَلَمْ يُولَدْ ﴿٣﴾ وَلَمْ يَكُن لَّهُۥ كُفُوًا أَحَدٌۢ ﴿٤﴾
Bismillahir-rahmanir-rahim. Qul huwallahu ahad. Allahus-samad. Lam yalid wa lam yulad. Wa lam yakun lahu kufuwan ahad
Say, He is Allah, [who is] One, Allah, the Eternal Refuge. He neither begets nor is born, Nor is there to Him any equivalent.
Qur'an, Al-Ikhlas 112:1-4 · Translation: Saheeh International
Where the schools differ: Hanafis hold this necessary (wajib); the other schools hold it a sunnah.
Bow (ruku)
Say Allahu akbar and bow, with your hands on your knees and your back straight. Say the tasbih at least three times.
In ruku
سُبْحَانَ رَبِّيَ الْعَظِيمِ
Subhana rabbiyal-'azim
Glory be to my Lord, the Magnificent.
Abu Dawud 874 · Muslim 772
Rise
Rise to standing while saying Sami'allahu liman hamidah. Once upright, say Rabbana lakal-hamd.
Rising from ruku
سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ
Sami'allahu liman hamidah
Allah hears the one who praises Him.
Bukhari 722
Standing after ruku
رَبَّنَا لَكَ الْحَمْدُ
Rabbana lakal-hamd
Our Lord, to You belongs all praise.
Bukhari 722
Where the schools differ: Shafi'is and Hanbalis raise the hands when bowing and when rising from it; Hanafis and Malikis do not. Both are narrated.
Prostrate (sujud)
Say Allahu akbar and go down: knees, then hands, then forehead and nose on the ground, with your fingers and toes towards the qibla. Say the tasbih at least three times.
In sujud
سُبْحَانَ رَبِّيَ الْأَعْلَى
Subhana rabbiyal-a'la
Glory be to my Lord, the Most High.
Abu Dawud 874 · Muslim 772
Where the schools differ: Most schools put the knees down first; Malikis put the hands down first.
Sit, then prostrate again
Say Allahu akbar and sit up for a moment, then say Allahu akbar and make a second prostration like the first. A short supplication is narrated for this sitting.
Between the two prostrations
رَبِّ اغْفِرْ لِي
Rabbighfir li
My Lord, forgive me.
Abu Dawud 874
The second rak'ah
Say Allahu akbar and stand up. Pray the second rak'ah like the first, from al-Fatiha on, without the opening supplication.
Sit for the tashahhud
After the second prostration of the second rak'ah, sit and recite at-Tahiyyat.
Tashahhud (At-Tahiyyat)
التَّحِيَّاتُ لِلَّهِ، وَالصَّلَوَاتُ وَالطَّيِّبَاتُ، السَّلَامُ عَلَيْكَ أَيُّهَا النَّبِيُّ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ، السَّلَامُ عَلَيْنَا وَعَلَى عِبَادِ اللَّهِ الصَّالِحِينَ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ، وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ
At-tahiyyatu lillahi was-salawatu wat-tayyibat. As-salamu 'alayka ayyuhan-nabiyyu wa rahmatullahi wa barakatuh. As-salamu 'alayna wa 'ala 'ibadillahis-salihin. Ash-hadu an la ilaha illallah, wa ash-hadu anna Muhammadan 'abduhu wa rasuluh
All greetings, prayers and good words are for Allah. Peace be upon you, O Prophet, and the mercy of Allah and His blessings. Peace be upon us and upon the righteous servants of Allah. I bear witness that there is no god but Allah, and I bear witness that Muhammad is His servant and Messenger.
Bukhari 831
Salawat and a supplication
In the final sitting, after at-Tahiyyat, send blessings on the Prophet ﷺ and then ask Allah for what you need.
Durood Ibrahim (Salawat in Salah)
اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ، وَعَلَى آلِ مُحَمَّدٍ، كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ، اللَّهُمَّ بَارِكْ عَلَى مُحَمَّدٍ، وَعَلَى آلِ مُحَمَّدٍ، كَمَا بَارَكْتَ عَلَى إِبْرَاهِيمَ، وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ
Allahumma salli 'ala Muhammadin wa 'ala ali Muhammad, kama sallayta 'ala Ibrahima wa 'ala ali Ibrahim, innaka Hamidun Majid. Allahumma barik 'ala Muhammadin wa 'ala ali Muhammad, kama barakta 'ala Ibrahima wa 'ala ali Ibrahim, innaka Hamidun Majid
O Allah, send prayers upon Muhammad and the family of Muhammad, as You sent prayers upon Ibrahim and the family of Ibrahim; You are Praiseworthy, Glorious. O Allah, bless Muhammad and the family of Muhammad, as You blessed Ibrahim and the family of Ibrahim; You are Praiseworthy, Glorious.
Bukhari 3370
Rabbana Atina Dua
رَبَّنَآ ءَاتِنَا فِى ٱلدُّنْيَا حَسَنَةًۭ وَفِى ٱلْءَاخِرَةِ حَسَنَةًۭ وَقِنَا عَذَابَ ٱلنَّارِ ﴿٢٠١﴾
Rabbana atina fid-dunya hasanatan wa fil-akhirati hasanatan wa qina 'adhaban-nar
Our Lord, give us in this world [that which is] good and in the Hereafter [that which is] good and protect us from the punishment of the Fire.
Qur'an, Al-Baqarah 2:201 · Bukhari 6389 · Translation: Saheeh International
Rabbanaghfir Li wa li-Walidayya
رَبَّنَا ٱغْفِرْ لِى وَلِوَٰلِدَىَّ وَلِلْمُؤْمِنِينَ يَوْمَ يَقُومُ ٱلْحِسَابُ ﴿٤١﴾
Rabbanaghfir li wa li-walidayya wa lil-mu'minina yawma yaqumul-hisab
Our Lord, forgive me and my parents and the believers the Day the account is established.
Qur'an, Ibrahim 14:41 · Translation: Saheeh International
Where the schools differ: The salawat here is a pillar for Shafi'is and Hanbalis and a sunnah for Hanafis. Any authentic supplication may follow: Rabbana atina and Rabbanaghfir li (Qur'an 2:201, 14:41) are common, as is the dua taught to Abu Bakr (Bukhari 834).
End with the salam
Turn your head to the right and say the salam, then to the left and say it again.
Taslim
السَّلَامُ عَلَيْكُمْ وَرَحْمَةُ اللَّهِ
As-salamu 'alaykum wa rahmatullah
Peace be upon you, and the mercy of Allah.
Abu Dawud 996
Where the schools differ: Most schools give two salams; for Malikis one, to the right, is enough.
After the prayer
Stay seated for a moment: ask forgiveness three times, then the tasbihat (33 times each Subhanallah, Alhamdulillah and Allahu akbar) and the supplications narrated for this time.
Allahumma Antas-Salam
أَسْتَغْفِرُ اللَّهَ، أَسْتَغْفِرُ اللَّهَ، أَسْتَغْفِرُ اللَّهَ اللَّهُمَّ أَنْتَ السَّلَامُ وَمِنْكَ السَّلَامُ تَبَارَكْتَ ذَا الْجَلَالِ وَالْإِكْرَامِ
Astaghfirullah, astaghfirullah, astaghfirullah. Allahumma antas-Salamu wa minkas-salam, tabarakta dhal-jalali wal-ikram
I ask Allah's forgiveness (three times). O Allah, You are Peace and from You is peace. Blessed are You, Owner of majesty and honour.
Muslim 591
Three and four rak'ahs
After the tashahhud of the second rak'ah, say Allahu akbar and stand up instead of giving the salam. In the first sitting recite only at-Tahiyyat. In the third and fourth rak'ahs of an obligatory prayer, recite al-Fatiha without a surah. Then sit for the final tashahhud and finish as above.
If you forget something
If you leave out a necessary part by mistake, two extra prostrations of forgetfulness (sujud as-sahw) at the end make up for it. The schools differ on exactly when and how; ask at your mosque.
While you are learning
Pray anyway, and keep learning the Arabic a little at a time. A man who could not yet learn any of the Qur'an was taught to say Subhanallah, Alhamdulillah, La ilaha illallah, Allahu akbar and La hawla wa la quwwata illa billah (Abu Dawud 832).
Maghrib time
The time of Maghrib changes with your city and the date. Share your location and we will open today's prayer times for your city, or pick it from the list.