Dua & Dhikr
Published on

Dua for Taking an Exam: Quranic Supplications for Students

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education • DeenUp

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

In the name of God, the Most Gracious, the Most Merciful.

Prayer beads and a glowing lantern overlooking a mosque courtyard

Quick answer

What is the best dua to recite before taking an exam?

The most recommended dua before an exam is Rabbi Zidni Ilma: 'My Lord, increase me in knowledge' (Quran 20:114). It is short, Quranic, and directly asks Allah for knowledge. Recite it after Fajr prayer or just before sitting the exam while maintaining trust in Allah's plan.

Open Quran with prayer beads on a wooden desk, warm golden light

Exams carry a weight that feels unlike most other moments in life. You have prepared as well as you can, but the morning of the test brings a mix of focus and nerves that no amount of revision fully resolves. This is precisely when Muslim students have always turned to dua — not as a shortcut around preparation, but as an acknowledgment that knowledge itself comes from Allah.

The Prophet Muhammad ﷺ taught his companions to begin every significant matter with the name of Allah. Before writing a single word on your paper, your heart can be aligned with the One who placed every answer in your memory.

What is the best dua for taking an exam?

The most powerful dua a student can recite before or during an exam comes directly from the Quran. Allah taught Moses: "Rabbi zidni ilma" — "My Lord, increase me in knowledge" (Surah Ta-Ha, 20:114). This short Quranic supplication, only four Arabic words, asks Allah directly for the gift of knowledge and understanding. It is authentic, simple, and carries the weight of divine instruction. Scholars across all four madhabs cite it as the clearest Quranic dua for a student facing any test of knowledge.

The Core Duas for Exam Situations

Rabbi Zidni Ilma — The Quranic Dua for Knowledge

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

Rabbi zidni ilma

"My Lord, increase me in knowledge."

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

"My Lord, increase me in knowledge." — (Surah Ta-Ha, 20:114)

This verse is unique in the Quran: it is the only place where Allah directly commands His Prophet to ask for more of something, and that something is ilm (knowledge). Recite it upon waking on exam day, again after each prayer, and silently before you begin writing.

Prophet Musa's Dua — For Ease and Clarity

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

Rabbi ishrah li sadri wa yassir li amri wahlul uqdatan min lisani yafqahu qawli

"My Lord, expand for me my chest, ease my task for me, and untie the knot from my tongue so they may understand my speech."

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

"My Lord, expand for me my chest, ease my task for me, and untie the knot from my tongue so they may understand my speech." — (Surah Ta-Ha, 20:25-28)

Musa ﷺ recited this before facing Pharaoh — arguably the most difficult conversation in human history. The dua asks for three things simultaneously: an open and calm heart, ease in the actual task, and clear expression. All three are exactly what an exam demands.

Hasbunallah — For Calm Under Pressure

حَسْبُنَا اللَّهُ وَنِعْمَ الْوَكِيلُ

Hasbunallahu wa ni'mal wakil

"Allah is sufficient for us, and He is the best disposer of affairs."

حَسْبُنَا اللَّهُ وَنِعْمَ الْوَكِيلُ

"Allah is sufficient for us, and He is the best disposer of affairs." — (Surah Al-Imran, 3:173)

The Prophet's companions recited this phrase when they were told an army was gathering against them. Rather than causing panic, it produced resolve. When anxiety peaks in an exam hall, this dua is a full reset — it reorients the mind from "what if I fail" to "my outcome is with the One who controls all outcomes."

Why Dua and Knowledge Are Inseparable in Islam

The Quran frames seeking knowledge as one of the most honored acts a believer can perform. Allah says: "Allah will raise those who have believed among you and those who were given knowledge, by degrees" (Surah Al-Mujadila, 58:11). Scholarship is not a secular pursuit in Islamic tradition — it is a form of worship.

The Prophet ﷺ also taught: "Seeking knowledge is an obligation upon every Muslim" (Sunan Ibn Majah 224). An exam is part of this journey. The anxiety you feel before it is a sign that you value knowledge, and dua transforms that anxiety into connection with the One who gave you the capacity to learn in the first place.

A core Islamic principle is tawakkul: trusting in Allah's plan after doing your part. The Prophet ﷺ explained this when a Bedouin asked whether to leave his camel untied and trust in Allah: "Tie it, then put your trust in Allah" (Sunan al-Tirmidhi 2517). Dua without study is wishful thinking; study without dua cuts off the source of genuine understanding.

DuaArabic phraseWhen to reciteSource
Rabbi Zidni Ilmaرَبِّ زِدْنِي عِلْمًاMorning of exam, before writingQuran 20:114
Musa's ease duaرَبِّ اشْرَحْ لِي صَدْرِيBefore entering the examQuran 20:25-28
Hasbunallahحَسْبُنَا اللَّهُ وَنِعْمَ الْوَكِيلُDuring moments of anxietyQuran 3:173
Bismillahبِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِBefore starting the paperQuran 1:1 (sunnah)
Dua for reliefأَلَمْ نَشْرَحْ لَكَ صَدْرَكَRecite Surah Al-SharhQuran 94:5-6

Making Dua Part of Your Exam-Day Routine

Building a dua-centered exam day does not require extra time — it requires intentionality. These are small anchors you can place around preparation you are already doing:

The night before:

  • Pray your Isha and any witr prayers with the intention that the night's rest is itself preparation.
  • Recite "Rabbi Zidni Ilma" before sleeping — it ends the day asking for more knowledge, and the mind works while you rest.

The morning of the exam:

  • Pray Fajr and remain in dhikr for a few minutes after. This is the quietest hour, and the mind is freshest.
  • Read Surah Al-Sharh (Quran 94) — it reminds you that "with every hardship comes ease," twice in four verses.

Before entering the exam hall:

  • Make wudu if possible. Even if the exam is not a religious obligation, beginning it in a state of purity is an act of respect for the knowledge you are demonstrating.
  • Recite Musa's dua and then say "Bismillah" as you pick up your pen.

During the exam:

  • If a question stumps you, silently recite "Hasbunallahu wa ni'mal wakil" and move on. Calm is itself a cognitive advantage.

Do you feel your duas are unanswered?

Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.

Take the Dua Quiz
DeenUp app showing bite-sized Islamic lessons

What the Quran Teaches About Hardship and Ease

One of the most direct Quranic assurances for anyone under pressure is Surah Al-Sharh (94:5-6):

فَإِنَّ مَعَ الْعُسْرِ يُسْرًا إِنَّ مَعَ الْعُسْرِ يُسْرًا

"For indeed, with hardship will be ease. Indeed, with hardship will be ease."

The Arabic grammar here is significant: al-usr (the hardship) uses a definite article while yusra (ease) is indefinite — meaning the same single hardship carries multiple eases alongside it. Classical scholars noted that this verse is repeated twice, emphasizing that ease accompanies difficulty, not merely follows it.

For a student, this means the exam and the aid from Allah are not in sequence — they are simultaneous. You enter the hall already in the company of Allah's ease.

For more context on building a Quran-connected daily routine, see the guide to morning adhkar in Islam and how to make dua properly.

Common Questions About Dua and Exams

Can I recite these duas silently during the exam? Yes. Dua does not require sound — it is fundamentally a turning of the heart toward Allah. Reciting any of these phrases internally, with presence and meaning, is fully valid.

What if I did not prepare enough — will dua still help? Dua is always heard. Its results, however, come within Allah's wisdom and your own effort. Scholars note that sincere repentance for wasted time (tawbah) is itself a form of dua, and many students report that acknowledging their shortfall honestly and asking for Allah's aid opens unexpected focus. The outcome is in Allah's hands; your job is to show up with sincerity.

Are there specific surahs to read the morning of an exam? Surah Al-Fatiha, Al-Baqarah's opening verses, and Surah Al-Sharh are all commonly recommended. Some scholars also suggest Ayat al-Kursi (2:255) for protection and grounding before important events.

How do I combine dua with the night before an exam? Make wudu, pray two rakahs of nafl with the intention of asking Allah's help (salat al-hajah), then sit quietly and recite "Rabbi Zidni Ilma" multiple times. Write down three things you are grateful for from your studies — gratitude is itself a form of remembrance of Allah.

For further reading on building study-focused dua habits, see our articles on dua for studying and memorization and dua for knowledge. If you are building a consistent daily dua practice around moments like this, the guide on how to make dua properly covers the conditions and etiquette that maximize its acceptance.

You can verify the Quranic verses cited above at quran.com/20/114 and quran.com/3/173.

Closing

Every question on a paper is, in the Islamic view, also a question about your character: did you prepare honestly? Did you rely on Allah rather than only on yourself? Did you use the aql (intellect) Allah gave you?

The duas above are not magic words — they are a conversation with the One who gave you memory, language, and the capacity for understanding in the first place. Recite them with that in mind, and regardless of the number on your result slip, you will leave the exam having strengthened your connection with Allah.

For daily Quranic reminders and a space to track your deen habits, the dua for success and achievement article continues this theme, as does the resource on dua before exam.

Do you feel your duas are unanswered?

Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.

Take the Dua Quiz
DeenUp app showing bite-sized Islamic lessons

Frequently Asked Questions

What is the best dua to recite before taking an exam?

The most recommended dua before an exam is Rabbi Zidni Ilma: 'My Lord, increase me in knowledge' (Quran 20:114). It is short, Quranic, and directly asks Allah for knowledge. Recite it after Fajr prayer or just before sitting the exam while maintaining trust in Allah's plan.

What dua did Prophet Musa recite for help and ease?

Prophet Musa recited: 'Rabbi ishrah li sadri wa yassir li amri' — 'My Lord, expand my chest and ease my task for me' (Quran 20:25-28). This dua asks Allah to open the heart, ease the undertaking, and loosen any tightness in speech. Students use it to calm anxiety before high-pressure moments.

Is there a dua for anxiety and concentration during exams?

Hasbunallahu wa ni'mal wakil — 'Allah is sufficient for us, and He is the best disposer of affairs' (Quran 3:173) — is a dua for calm and trust when facing difficulty. It was recited by the companions when threatened, and it refocuses the heart from fear to reliance on Allah.

Can I make dua in English during an exam?

You may make personal supplication (dua) in any language you understand. The Quranic phrases carry additional blessing because they are the words of Allah Himself, but heartfelt dua in your own language is accepted. Many scholars recommend learning the Arabic for key duas so you can recite them with both understanding and the Quranic wording.

What should I do if I forget an answer during an exam?

Recite 'Hasbunallahu wa ni'mal wakil' or take a breath and say 'Bismillah' to refocus. Some scholars recommend reciting the Fatiha silently in your heart and trusting that you prepared sincerely. Worrying is itself a distraction — turning to Allah briefly resets your focus and reminds you that outcomes are in His hands.

Should I pray two rakahs before an important exam?

Praying two rakahs of nafl (voluntary) salah before a significant undertaking is a praiseworthy practice endorsed by the principle of salat al-hajah — prayer for a need. It is not an obligation, but approaching an exam after prayer, in a state of wudu, with fresh dua, is a recognized means of seeking Allah's tawfiq (enabling grace).

How do I combine dua with proper exam preparation?

Islamic scholars are unanimous that dua and effort must go together — tawakkul (reliance on Allah) means doing your part fully and then leaving the outcome to Allah. Prepare thoroughly, sleep well, avoid haram shortcuts, and then make your duas with sincerity. The Prophet said: 'Tie your camel, then put your trust in Allah' (Sunan al-Tirmidhi 2517).