Dua for Exams: Quranic Prayers and Hadith References for Study

This guide brings together Quranic supplications and reported duas that students can read while studying or facing an exam. Each entry identifies its reference, and the knowledge dua below includes a note about differing hadith assessments. These are general supplications, not an exam ritual or a promise of particular grades. The study suggestions are practical advice, not prescribed acts of worship.

Quick answer: The most-used Quranic duas for exams are “Rabbi zidni ‘ilma” (My Lord, increase me in knowledge) from Quran 20:114 and “Rabbish-rahli sadri wa yassir li amri” (My Lord, expand my chest and make my task easy) from Quran 20:25–26.

Is There a Specific “Exam Dua” in Islam?

The sources cited here do not prescribe a special exam ritual. Quranic prayers for knowledge and ease can be part of a student’s personal dua. The situations suggested in this guide are applications for daily life, not claims that a particular wording or number was prescribed for examinations.

Be careful with circulating “guaranteed success” duas or wazifas with specific counts and no reference. Stick with what is authentic, and you’ll be making dua with complete confidence.

Duas While You Study

Rabbi zidni ‘ilma

This is the only thing Allah told the Prophet ﷺ to ask Him for more of in the Quran:

رَّبِّ زِدْنِي عِلْمًا

Transliteration: Rabbi zidni ‘ilma.

Meaning: My Lord, increase me in knowledge.

Source: Quran 20:114

You can use this prayer as a personal reminder before studying. That suggested timing is a study habit, not a prescribed Sunnah for exams.

The dua for beneficial knowledge

The following words ask for learning that is useful. They appear at the beginning of longer reports attributed to the Prophet ﷺ in Tirmidhi 3599 and Ibn Majah 251. Read the grading note beside the references before treating this attribution as established.

اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Transliteration: Allahummanfa’ni bima ‘allamtani, wa ‘allimni ma yanfa’uni, wa zidni ‘ilma.

Meaning: O Allah, benefit me with what You have taught me, teach me what will benefit me, and increase me in knowledge.

Source: Jami’ at-Tirmidhi 3599; Sunan Ibn Majah 251

Wording and grading: The Arabic above is an excerpt, not either report in full. Sunnah.com displays Darussalam’s grade as Da’if (weak) for both Tirmidhi 3599 and Ibn Majah 251. Tirmidhi’s own comment in the Arabic text of 3599 describes that route as hasan gharib. These assessments should not be collapsed into an unqualified claim of authenticity. For a Quranic request for knowledge, see Quran 20:114.

After Fajr: knowledge, provision and accepted deeds

Umm Salamah reported that after the Fajr prayer, the Prophet ﷺ would say:

اللَّهُمَّ إِنِّي أَسْأَلُكَ عِلْمًا نَافِعًا، وَرِزْقًا طَيِّبًا، وَعَمَلًا مُتَقَبَّلًا

Transliteration: Allahumma inni as’aluka ‘ilman nafi’an, wa rizqan tayyiban, wa ‘amalan mutaqabbala.

Meaning: O Allah, I ask You for beneficial knowledge, good provision and accepted deeds.

Source: Sunan Ibn Majah 925

It is a perfect dua for students because it links your studies to your future provision and to deeds Allah accepts.

Duas Before and During the Exam

The dua of Musa: “expand my chest”

When Allah sent Musa (peace be upon him) to face Pharaoh, the most intimidating task of his life, Musa asked for calm, ease and clear speech. It fits an exam hall almost perfectly:

رَبِّ اشْرَحْ لِي صَدْرِي، وَيَسِّرْ لِي أَمْرِي، وَاحْلُلْ عُقْدَةً مِّن لِّسَانِي، يَفْقَهُوا قَوْلِي

Transliteration: Rabbish-rahli sadri, wa yassir li amri, wahlul ‘uqdatan min lisani, yafqahu qawli.

Meaning: My Lord, expand my chest for me, make my task easy for me, and untie the knot from my tongue so they may understand my speech.

Source: Quran 20:25–28

The last line is especially helpful before oral exams, presentations and interviews.

“Nothing is easy except what You make easy”

When a question looks impossible, this is the dua to whisper:

اللَّهُمَّ لَا سَهْلَ إِلَّا مَا جَعَلْتَهُ سَهْلًا، وَأَنْتَ تَجْعَلُ الْحَزْنَ إِذَا شِئْتَ سَهْلًا

Transliteration: Allahumma la sahla illa ma ja’altahu sahla, wa anta taj’alul-hazna idha shi’ta sahla.

Meaning: O Allah, nothing is easy except what You make easy, and You make the difficult easy if You will.

Source: Sahih Ibn Hibban (no. 974); graded sahih by al-Albani (al-Silsilah al-Sahihah 2886)

When nerves take over

If your mind goes blank, stop for a moment, breathe, and say “Hasbunallahu wa ni’mal wakil”, “Allah is sufficient for us and He is the best disposer of affairs” (Quran 3:173). Then move on to a question you can answer. Often the blank question comes back to you later.

For deeper exam anxiety, our guide to the dua for anxiety, worry and grief covers the Prophet’s duas for distress in detail.

Dua for Results Day

Results day brings a particular kind of fear, because the work is done and nothing can change the outcome. This is the moment to ask Allah for good in whatever the result is, rather than only a particular grade. The dua I find most fitting:

رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الْآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ

Transliteration: Rabbana atina fid-dunya hasanatan wa fil-akhirati hasanatan wa qina ‘adhaban-nar.

Meaning: Our Lord, give us good in this world and good in the Hereafter, and protect us from the punishment of the Fire.

Source: Quran 2:201

When the Result Isn’t What You Hoped

This is where faith really works. The Prophet ﷺ said: “Strive for what benefits you, seek Allah’s help, and do not give up. If something befalls you, do not say, ‘If only I had done such-and-such’, but say, ‘Allah has decreed, and what He wills He does'” (Sahih Muslim 2664).

A disappointing result is not proof your dua was rejected. Allah may be steering you towards a different course, a resit you’ll ace, or a path you can’t see yet (Quran 2:216). If you’re choosing between options after results, whether courses, universities or resits, the Salat al-Istikharah guide shows you how to ask Allah for the best choice.

A Muslim Revision Plan That Actually Helps

Dua works alongside effort, not instead of it. The Prophet ﷺ told a man to tie his camel and then trust in Allah (Jami’ at-Tirmidhi 2517). In exam terms:

  1. Study after Fajr. The Prophet ﷺ prayed: “O Allah, bless my ummah in their early mornings” (Sunan Abi Dawud 2606). Choose a study time when you are rested and able to concentrate; the report does not establish a two-to-one productivity ratio.
  2. Use prayer times as study breaks. Five fixed pauses a day keep your revision in blocks and your heart connected.
  3. Protect your sleep. Memory consolidates during sleep. Our dua before sleeping routine ends the day calmly.
  4. Begin every session with “Rabbi zidni ‘ilma”.
  5. Avoid what you know distracts you, and make dua for your classmates too. The angels say “and for you the same” (Sahih Muslim 2732).

Related Guides

Frequently Asked Questions

What is the best dua for exams?

There is no single “exam dua” in the Sunnah, but the most fitting authentic ones are Rabbi zidni ‘ilma (Quran 20:114) and Rabbish-rahli sadri wa yassir li amri (Quran 20:25–28).

Is there an authentic dua for memory?

For a Quranic prayer for knowledge, read Rabbi zidni ‘ilma (Quran 20:114). This guide does not establish a separate prophetic formula that guarantees memory or exam success. The Tirmidhi 3599 report mentioned above has a grading note and should not be presented without that qualification.

What dua should I read before entering the exam hall?

Say Bismillah, then Rabbish-rahli sadri wa yassir li amri and Allahumma la sahla illa ma ja’altahu sahla.

Can I make dua for someone else’s exam?

Yes, and it’s a great sunnah. When you pray for someone in their absence, an angel says “Ameen, and for you the same” (Sahih Muslim 2732).

Is it wrong to make dua for a specific grade?

No. You can ask Allah for specific things, but pair it with asking for what is best for you, since only Allah knows where the good lies.

What if I studied hard and still failed?

Your effort is recorded and rewarded regardless of the result. Say “Qaddarallahu wa ma sha’a fa’al” (Allah decreed and did what He willed), then look at your next step, which may be better than the original plan.

Final Thoughts

The strongest exam preparation is two things together: honest effort and sincere dua. Learn two or three of the duas above this week, say them at the start of every study session, and walk into the exam hall knowing you have done your part and handed the rest to Allah.

Best of luck, and may Allah grant you results that are good for you in this world and the next.

Leave a Comment