Maghrib: Quran and Hadith
References from the Quran and hadith, with the Sunni view (Hanafi, Shafi‘i, Maliki, Hanbali) and the Shia view (Jafari) side by side.
Timing of Maghrib
Sunni view (Hanafi, Shafi‘i, Maliki, Hanbali)
- Sahih al-Bukhari 561, Sahih Muslim 636 The Prophet ﷺ prayed Maghrib as soon as the sun had set and disappeared.
- Sahih Muslim 612 The time of Maghrib lasts until the twilight has gone. The Hanafi and Hanbali schools follow this; the Maliki school gives Maghrib a short time.
- Abu Dawud 418 My community will remain upon good as long as they do not delay Maghrib until the stars appear.
Shia view (Jafari)
- Man La Yahduruhu al-Faqih, vol. 1, chapter on prayer times, hadith 10 Imam al-Baqir: the time of Maghrib begins when the disk of the sun has disappeared.
- Wasa’il al-Shi‘a, chapter on the start of Maghrib Sunset is known by the redness leaving the eastern sky, so the Jafari school waits a few minutes after sunset.
- Man La Yahduruhu al-Faqih, vol. 1, chapter on prayer times, hadith 16 Imam al-Sadiq condemned delaying Maghrib until the stars appear.
- Man La Yahduruhu al-Faqih, vol. 1, chapter on prayer times, hadith 18 Imam al-Sadiq: at sunset the fast may be broken and Maghrib is due, and the time of Isha follows until midnight.
Benefits of Maghrib
- Abu Dawud 418 Praying Maghrib on time keeps the community upon good.
- Sahih Muslim 728, Tirmidhi 415 The 2 sunnah rak‘ahs after Maghrib are among the twelve daily rak‘ahs that build a house in Paradise.
- Man La Yahduruhu al-Faqih, vol. 1, chapter on prayer times, hadith 20 Imam al-Sadiq: two rak‘ahs prayed after Maghrib are recorded in the highest ranks, and four bring a reward like an accepted Hajj.
The Maghrib prayer: rak‘ahs
Sunni view (Hanafi, Shafi‘i, Maliki, Hanbali)
- 3 fard rak‘ahs, never shortened when travelling, with 2 sunnah rak‘ahs after.
- Sahih al-Bukhari 1183 Pray before Maghrib, for whoever wishes: 2 short voluntary rak‘ahs are allowed after the adhan.
Shia view (Jafari)
- 3 obligatory rak‘ahs, never shortened when travelling, with 4 nafilah rak‘ahs after.
- Wasa’il al-Shi‘a, vol. 4, p. 46 The daily prayers are 51 rak‘ahs, 17 obligatory and 34 nafilah.
Adhkar after Maghrib
- Sahih Muslim 591 أَسْتَغْفِرُ اللَّهَ (3 times), then: اللَّهُمَّ أَنْتَ السَّلاَمُ، وَمِنْكَ السَّلاَمُ، تَبَارَكْتَ ذَا الْجَلاَلِ وَالإِكْرَامِ (O Allah, You are Peace and from You is peace; blessed are You, Owner of majesty and honour).
- Sahih al-Bukhari 844, Sahih Muslim 593 لاَ إِلَهَ إِلاَّ اللَّهُ وَحْدَهُ لاَ شَرِيكَ لَهُ، لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌاللَّهُمَّ لاَ مَانِعَ لِمَا أَعْطَيْتَ، وَلاَ مُعْطِيَ لِمَا مَنَعْتَ، وَلاَ يَنْفَعُ ذَا الْجَدِّ مِنْكَ الْجَدُّ (None can withhold what You give, none can give what You withhold, and no one’s wealth avails him against You).
- Sahih Muslim 597 سُبْحَانَ اللَّهِ 33 times, الْحَمْدُ لِلَّهِ 33 times, اللَّهُ أَكْبَرُ 33 times, and to complete 100: لاَ إِلَهَ إِلاَّ اللَّهُ وَحْدَهُ لاَ شَرِيكَ لَهُ، لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌHis sins are forgiven even if they are like the foam of the sea.
- an-Nasa’i, as-Sunan al-Kubra 9848 Ayat al-Kursi (Quran 2:255) after every obligatory prayer: nothing but death stands between him and Paradise. Ibn Hibban graded it sahih.
- Abu Dawud 1522 The Prophet ﷺ told Mu‘adh never to leave saying at the end of every prayer: اللَّهُمَّ أَعِنِّي عَلَى ذِكْرِكَ وَشُكْرِكَ وَحُسْنِ عِبَادَتِكَ (O Allah, help me to remember You, to thank You and to worship You well).
- Abu Dawud 1523 ‘Uqbah ibn ‘Amir: the Prophet ﷺ told me to recite al-Mu‘awwidhat (al-Falaq and an-Nas) at the end of every prayer.
- Sahih Muslim 2723 In the evening: أَمْسَيْنَا وَأَمْسَى الْمُلْكُ لِلَّهِ، وَالْحَمْدُ لِلَّهِ، لاَ إِلَهَ إِلاَّ اللَّهُ وَحْدَهُ لاَ شَرِيكَ لَهُ (We have entered the evening and the dominion belongs to Allah; praise be to Allah; there is no god but Allah alone, without partner).
- Tirmidhi 3391 In the evening: اللَّهُمَّ بِكَ أَمْسَيْنَا، وَبِكَ أَصْبَحْنَا، وَبِكَ نَحْيَا، وَبِكَ نَمُوتُ، وَإِلَيْكَ النُّشُورُ (O Allah, by You we enter the evening and the morning, by You we live and die, and to You is the resurrection).
- Sahih Muslim 2709 To a man stung by a scorpion at night the Prophet ﷺ said: had you said in the evening أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّاتِ مِنْ شَرِّ مَا خَلَقَ (I seek refuge in the perfect words of Allah from the evil of what He created), it would not have harmed you.
- Abu Dawud 5088 3 times in the morning and evening: بِسْمِ اللَّهِ الَّذِي لاَ يَضُرُّ مَعَ اسْمِهِ شَيْءٌ فِي الأَرْضِ وَلاَ فِي السَّمَاءِ، وَهُوَ السَّمِيعُ الْعَلِيمُ (In the name of Allah, with whose name nothing on earth or in heaven can harm). No sudden affliction will strike him.
- Abu Dawud 5082 Al-Ikhlas, al-Falaq and an-Nas, 3 times each, morning and evening: they will suffice you against everything.
- Wasa’il al-Shi‘a, vol. 4, p. 1024; Man La Yahduruhu al-Faqih, vol. 1, p. 320 Tasbih of Fatimah al-Zahra after every prayer, before changing position: اللَّهُ أَكْبَرُ 34 times, الْحَمْدُ لِلَّهِ 33 times, سُبْحَانَ اللَّهِ 33 times. Imam al-Sadiq: dearer to me than a thousand rak‘ahs of prayer every day.
Hadith numbers follow sunnah.com. Jafari sources are named by book, volume and chapter.
References for the other prayers
Last updated: Saturday, 21 November 2026