← Muhasaba

Dua and study

Dua for Exam: What to Say Before Studying, Before the Hall, and When Your Mind Goes Blank

The verified duas for exams and study — exact Arabic, transliteration and meaning — organised by the moment you actually need them, plus the part every other page leaves out: what dua does and does not do about an exam you have not prepared for.

By Zaman Ishtiyaq, founder of Muhasaba · Updated August 17, 2026

Primary sources: Quran 20:25-28, 20:114, 94:5-6, 65:3; Sahih Muslim, Jami' at-Tirmidhi, Sahih Ibn Hibban.

The dua for an exam

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

Rabbi ishrah li sadri, wa yassir li amri, wahlul 'uqdatan min lisani, yafqahu qawli — "My Lord, expand [i.e., relax] for me my breast [with assurance], and ease for me my task, and untie the knot from my tongue that they may understand my speech." (Quran 20:25-28)

Musa said this before walking in to face Pharaoh. He asked for three things in order: a chest that stops constricting, a task made easier than it looks, and the ability to say what he actually knows so that the people judging him understand it. That is an exam, described from the inside, fourteen centuries before exam halls existed.

Most exam-dua pages hand you a stack of Arabic with no indication of when to use which, and no acknowledgement that you are reading them at 1am because you are behind. This page is organised differently: by moment. Before you study, before you walk in, in the middle when your mind stops, and after, when the replaying starts. Every dua below is either Quran or a hadith whose source is named exactly, including one widely circulated dua that is routinely attributed to the wrong book.

The Main Dua, and Why This One

There is no hadith in which the Prophet ﷺ prescribes a specific dua for sitting an examination — examinations as we know them did not exist. What exists is better: a dua the Quran records being made in a situation structurally identical to yours.

Musa has been given an assignment he considers beyond him. He has to go before the most powerful and hostile audience of his time and explain something, out loud, with a speech impediment, while being judged. Before he goes, he asks for four things:

Read the sequence again and notice what is missing. Musa does not ask to be made to look impressive, or for Pharaoh to be defeated, or for the meeting to be cancelled. He asks for internal steadiness, a lighter load, working speech, and comprehension on the other side. Those are the four variables an exam actually turns on once the studying is done. Say it in the corridor outside the hall, in the car, or in your seat before the paper is turned over.

Dua Before Studying

The dua for the weeks before the exam is different from the dua for the day of it, and it is the shortest in the Quran that anyone memorises on purpose.

وَقُل رَّبِّ زِدْنِى عِلْمًاwa qul Rabbi zidni 'ilma — "and say, 'My Lord, increase me in knowledge.'" (Quran 20:114)

The context is worth knowing, because it changes how the words land. The full ayah tells the Prophet ﷺ not to hurry the recitation of the Quran before its revelation to him is complete — and then to say this. It is an instruction given to someone impatient to grasp something, telling him that the correct response to not-yet-understanding is to slow down and ask. Which is precisely the position of a student staring at a chapter that will not go in.

Note what it does not ask for. Not marks, not a place, not the approval of anyone. 'Ilma — knowledge. If you say this ayah honestly before opening a book and then close the book having understood something you did not understand before, the dua was answered, whatever the result slip says three months later. That is not a consolation prize. It is the thing that was requested.

When the Material Feels Impossible

The dua most circulated for exams is this one, and it is worth getting its attribution right, because it is constantly cited as Bukhari or Muslim and it is in neither.

اللَّهمَّ لا سَهلَ إلَّا ما جَعَلتَه سَهلًا، وأنتَ تَجعَلُ الحَزْنَ إذا شِئتَ سَهلًاAllahumma la sahla illa ma ja'altahu sahla, wa anta taj'alu al-hazna idha shi'ta sahla — "O Allah, there is no ease except in what You have made easy, and You make the difficult easy if You wish."

It is narrated from Anas ibn Malik and recorded by Ibn Hibban in his Sahih (no. 974), by Ibn al-Sunni in 'Amal al-Yawm wa'l-Laylah (no. 351), and by al-Bayhaqi in al-Da'awat al-Kabir (no. 266). Shu'ayb al-Arna'ut graded its chain sahih; Ibn Hajar graded the report sahih in al-Futuhat al-Rabbaniyyah. So: authentic, well-supported, and not from the two Sahihs. Anyone who tells you it is Bukhari has copied it from someone who copied it from someone.

The dua makes a strong claim — that the difficulty of a thing is not fixed in the thing itself. Hazn here means rough, hard ground; the word is a landscape metaphor. You are not asking for the syllabus to shrink. You are asking for the terrain under you to be levelled while you walk the same distance.

When Your Mind Goes Blank in the Hall

Blanking is the single most common exam fear, and it is a stress response rather than a memory failure — the information is still there, and access returns once arousal drops. Two things to do, in order.

First, say Rabbi ishrah li sadri wa yassir li amri silently. It takes one breath, which is itself part of the mechanism. Second, recall this pair of ayat, which the Quran states twice in immediate succession — a repetition that is not stylistic filler:

فَإِنَّ مَعَ ٱلْعُسْرِ يُسْرًا إِنَّ مَعَ ٱلْعُسْرِ يُسْرًاFa inna ma'a al-'usri yusra. Inna ma'a al-'usri yusra. — "For indeed, with hardship [will be] ease [i.e., relief]. Indeed, with hardship [will be] ease." (Quran 94:5-6)

The preposition is ma'a, "with" — not ba'da, "after." The ease is described as accompanying the hardship, not queued up behind it. Classical commentators read the repetition as emphasis and, given the definite article on al-'usr against the indefinite yusr, as an indication that one hardship does not arrive alone against one relief. Practically: move to a question you can answer, write something, and come back. The blank almost always clears once you have stopped staring at the thing that caused it.

After the Exam: The Sentence to Avoid

The hours after a paper are their own kind of suffering — the re-marking in your head, the friend who answered question 4 differently, the sentence beginning "if only I had." The Prophet ﷺ addressed that sentence directly:

"And if anything comes to you, do not say: if I had done that, it would have happened so and so — but say: Allah did what He had ordained to do; for 'if' opens the way for the work of Satan."

— Sahih Muslim 2664

This is not a ban on learning from the paper. Reviewing what you got wrong so you revise differently next time is exactly the "be keen for what benefits you" in the first half of the same hadith. What is being closed off is the loop with no exit: the counterfactual replayed at 2am about a decision that is now unchangeable. The distinction is whether the thought produces a different action next time, or only produces the thought again. On what is and is not yours to decide, see qadr.

Dua Is Not a Substitute for Preparation

This is the section every competing page omits, and it is the one that matters most if you are reading this the night before.

Dua does not replace revision, and Islam is unusually blunt about it. A man asked the Prophet ﷺ whether he should tie his camel and rely on Allah, or leave it loose and rely on Allah. The answer was: "Tie it and rely upon Allah" (Jami' at-Tirmidhi 2517, graded Hasan by Darussalam — Tirmidhi himself notes the chain is gharib, and Yahya al-Qattan considered it munkar, so it is reported here with that qualification). The principle it expresses does not rest on that hadith alone. Sahih Muslim 2664 has the Prophet ﷺ say: "Be keen for what benefits you, seek help from Allah, and do not lose heart." The order is exact — pursue the benefit, then ask for help, then refuse despair. All three, not one instead of the others.

The Quran frames it the same way. وَمَن يَتَوَكَّلْ عَلَى ٱللَّهِ فَهُوَ حَسْبُهُۥٓ"And whoever relies upon Allāh — then He is sufficient for him" (65:3). But read the clause that follows in the same ayah: "Allāh has already set for everything a [decreed] extent." Everything has a measure, a proportion, a set of causes it runs through. Tawakkul in this verse is confidence in the One who set the measures, not an expectation that they will be suspended for you. The Prophet ﷺ said that if you relied on Allah as He should be relied upon, He would provide for you as He provides for the birds — "it goes out in the morning empty, and returns full" (Jami' at-Tirmidhi 2344, Hasan). The bird still goes out. That is the whole image.

So the honest version: if you have prepared, dua is the part you cannot do for yourself — steadiness, recall, an examiner who reads you charitably. If you have not prepared, dua is still worth making, and Allah answers whom He wills, but do not confuse asking with having done the work. More on this in tawakkul, and on holding out through a long revision period in sabr.

What Exam Anxiety Actually Is

Almost all exam fear is anticipatory. Very few people are terrified during the exam itself; they are terrified in the week before it, and the object of the fear is usually not the paper. It is a chain: fail this, lose the grade, lose the place, disappoint a specific person whose face you can picture.

This is where a short written reflection does something a dua list cannot. Take one page and split it: on the left, write what you are actually afraid of — not "the exam," but the real sentence, including the person's name. On the right, mark each item as either something you can still act on before the exam, or something already decided. Most of the left column, honestly examined, turns out to be the second kind: fear of an outcome that no additional worrying can move.

This is muhasaba — the practice of taking account of yourself — applied narrowly. Its value here is not motivational. It is that it forces the vague dread into specific sentences, and specific sentences can be sorted. The ones that can be acted on become tonight's revision plan. The ones that cannot are exactly what the duas above are for: they are handed over, in words, to the One who set the measure. Anxiety that stays unnamed cannot be handed over, because you never worked out what it was. See also dua for anxiety.

A Sequence for Exam Week

Short enough to actually keep during the worst week of a term.

Opening the book

"Rabbi zidni 'ilma." Once, before you start, not as a superstition but as a statement of what the next two hours are for.

Stuck on a topic

"Allahumma la sahla illa ma ja'altahu sahla." Then change your method rather than repeating the one that is not working — a different explanation, a practice paper, someone who can say it out loud to you.

Before the hall

Musa's dua in full: "Rabbi ishrah li sadri, wa yassir li amri, wahlul 'uqdatan min lisani, yafqahu qawli."

Mid-exam blank

"Rabbi ishrah li sadri wa yassir li amri" — one breath — then move to a question you can answer.

Afterwards

No post-mortem with classmates. Two lines of written reflection: what I did that worked, what I will change. Then close it. On asking for good outcomes generally, see dua for success.

Frequently Asked Questions

What is the best dua for an exam?

The dua of Musa in Quran 20:25-28: "Rabbi ishrah li sadri, wa yassir li amri, wahlul 'uqdatan min lisani, yafqahu qawli" — "My Lord, expand for me my breast, and ease for me my task, and untie the knot from my tongue that they may understand my speech." Musa said it before facing an audience he was afraid of, asking for exactly what an exam requires: a settled chest, an eased task, and the ability to express what he knew. It is Quranic, so its wording is certain, and it fits the situation more precisely than any general-purpose dua.

What dua should I read before studying?

"Rabbi zidni 'ilma" — "My Lord, increase me in knowledge" (Quran 20:114). It is four words, it is Quran, and it was commanded to the Prophet ﷺ himself in the context of receiving revelation he was impatient to grasp. Say it as you open the book rather than only in the exam hall. Note what it asks for: an increase in knowledge, not an increase in marks. That is the honest thing to want from a study session.

Is "Allahumma la sahla illa ma ja'altahu sahla" an authentic dua?

Yes, but not from Bukhari or Muslim — it is often misattributed to them. It is narrated from Anas ibn Malik and recorded by Ibn Hibban in his Sahih (no. 974), by Ibn al-Sunni in 'Amal al-Yawm wa'l-Laylah (no. 351), and by al-Bayhaqi in al-Da'awat al-Kabir (no. 266). Shu'ayb al-Arna'ut graded its chain sahih and Ibn Hajar graded it sahih in al-Futuhat al-Rabbaniyyah. The wording is: "Allahumma la sahla illa ma ja'altahu sahla, wa anta taj'alu al-hazna idha shi'ta sahla" — "O Allah, there is no ease except in what You have made easy, and You make the difficult easy if You wish."

Does making dua mean I do not need to study?

No, and Islam is unusually explicit about this. A man asked the Prophet ﷺ whether he should tie his camel and rely on Allah or leave it loose and rely on Allah; he was told, "Tie it and rely upon Allah" (Jami' at-Tirmidhi 2517, graded Hasan by Darussalam). The Prophet ﷺ also said, "Be keen for what benefits you, seek help from Allah, and do not lose heart" (Sahih Muslim 2664) — the effort and the asking are given in the same breath, in that order. Quran 65:3 says Allah is sufficient for whoever relies on Him, and immediately adds that "Allāh has already set for everything a [decreed] extent" — a reliance that includes causes, not one that abolishes them.

What dua should I say if my mind goes blank during the exam?

Say "Rabbi ishrah li sadri wa yassir li amri" silently — it is short enough to say in one breath and it names the exact problem, a chest that has closed. Then recall Quran 94:5-6: "Fa inna ma'a al-'usri yusra. Inna ma'a al-'usri yusra." — "For indeed, with hardship will be ease. Indeed, with hardship will be ease." The grammar matters: the ease is described as being with the hardship, not only after it. Then move to the next question you can answer and come back. Blanking is usually a physiological stress response, and it clears faster when you stop staring at the question that triggered it.

Name the fear, then hand it over

Two minutes a night, through the worst week of the term.

The Muhasaba app guides a short nightly reflection — write or speak what the day actually held, receive a relevant Quranic ayah, and keep a private record you can look back on when exam season repeats. Free on iOS.

Download on the App Store

Anxious rather than unprepared? Duas for anxiety and worry →

On effort and reliance: What tawakkul actually requires →

Want prompts to write with? Browse Islamic journaling prompts →