Dua for Exams and Studying: What to Recite Before, During, and After a Test
By the SABR editorial team · · Updated

Key takeaways
- ✓The most cited exam dua is the dua of Musa (عليه السلام) from Surah Ta-Ha 20:25-28, asking Allah to expand the chest, ease the affair, and untie the knot in the tongue.
- ✓A widely recommended dua before studying is 'Rabbi zidni ilma' from Surah Ta-Ha 20:114 — a request for an increase in knowledge.
- ✓For moments of stuck-ness during an exam, a short narration attributed to the Prophet ﷺ asks Allah to make the difficult easy when He wills.
- ✓After good results, the Sunnah act is sujud al-shukr (prostration of thankfulness) rather than a fixed spoken formula.
- ✓Duas are not a substitute for preparation — Islamic scholarship consistently pairs dua with 'tying your camel', meaning consistent study.
- ✓You can memorize all four duas in seven days at roughly 5 minutes per day using short spaced repetition sessions.
- ✓For exact Arabic wording and tajwid, verify with a printed Mushaf or a qualified teacher — never rely on a screenshot.
Dua for Exams and Studying: What to Recite Before, During, and After a Test
TL;DR. There are a handful of well-known, authentic duas that students have relied on for centuries: the dua of Musa (عليه السلام) to open the chest and loosen the tongue, a dua asking for beneficial knowledge, a short dua for when something feels difficult, and the sujud al-shukr after receiving good news. This guide gives you the meaning, the occasion, and where each one is narrated from. Then we lay out a 7-day plan to memorize all four by heart so you can recite them without reading off a screen.
Exams are one of the most common reasons a Muslim student searches for a dua. The night before a test, the walk into the exam hall, the moment a question goes blank — these are exactly the moments the Sunnah gives us words for. As of August 2026, the top-searched student dua is still the dua of Musa (عليه السلام), and it remains the most quoted by teachers and imams for good reason.
This guide gives you four authentic duas, tells you where each one is narrated from, explains when to say each, and shows you how to actually memorize them in a week — not just save them to your camera roll.
Key takeaways
- The most cited exam dua is the dua of Musa (عليه السلام) from Surah Ta-Ha 20:25-28.
- 'Rabbi zidni ilma' (Surah Ta-Ha 20:114) is the classical dua before studying.
- A short dua attributed to the Prophet ﷺ addresses moments of difficulty during an exam.
- After results, the Sunnah action is sujud al-shukr rather than a specific verbal formula.
- Duas work alongside preparation, not instead of it.
- Seven days at ~5 minutes per day is enough to memorize all four by heart.
- Verify exact Arabic wording with a Mushaf or teacher — do not rely on random online images.
Key takeaway. The Sunnah gives students specific words for the specific moments of an exam — but only if you have them memorized before you sit down.
Why students search for a dua before an exam
Across the most common Hifz and student routines we see, three anxieties come up the night before a test: fear of forgetting, fear of not understanding the question, and fear that the effort put in won't be enough. Each of these has a Prophetic response. The dua of Musa (عليه السلام) directly addresses the chest tightening under pressure and the tongue freezing when it's time to speak — this is exactly what happens to a student mid-exam.
Dua is not magic and it is not a shortcut. Classical Islamic scholarship pairs dua with taking the means — the well-known lesson of the Bedouin being told to tie his camel and then trust in Allah. Recite the dua and revise your notes. Both, not either.
The four duas every student should know
Below is a comparison table of the four duas covered in this guide. The exact Arabic wording is intentionally not pasted here — students should learn it from a verified Mushaf or a teacher, not from a webpage that could contain a typo.
| Dua | Occasion | Source | Approx. length |
|---|---|---|---|
| Dua of Musa (عليه السلام) | Before entering the exam | Qur'an, Surah Ta-Ha 20:25-28 [source: Qur'an Ta-Ha 25-28] | ~4 short phrases |
| 'Rabbi zidni ilma' | Before starting a study session | Qur'an, Surah Ta-Ha 20:114 [source: Qur'an Ta-Ha 114] | 3 words |
| Dua for difficulty | When stuck on a question | Narration attributed to the Prophet ﷺ [source: hadith on ease when Allah wills] | 1 short sentence |
| Sujud al-shukr | After receiving results | Established Sunnah practice [source: hadith on sujud al-shukr] | Prostration + personal thanks |
1. Dua of Musa (عليه السلام) — before the exam
What it means (translation of meaning): "My Lord, expand for me my chest, and ease for me my affair, and untie the knot from my tongue so that they may understand my speech."
Occasion: This is what Musa (عليه السلام) said when Allah commanded him to go to Fir'awn — the most terrifying speaking task in human history. Students recite it before an exam because the request maps almost line-for-line onto exam anxiety: open my chest (calm my nerves), ease my task (let me handle the paper), free my tongue (let me express what I know).
Where it is from: Qur'an, Surah Ta-Ha, ayat 25 to 28 [source: Qur'an Ta-Ha 25-28].
Note on wording: Get the exact Arabic from your Mushaf. This dua is short enough to memorize in one sitting and it is the single most valuable one on this list.
2. Rabbi zidni ilma — before every study session
What it means (translation of meaning): "My Lord, increase me in knowledge."
Occasion: Recite it before opening your notes, before opening a textbook, before revising for an exam. It is only three words in Arabic, which is why it is such a common dua for students to build into a daily habit.
Where it is from: Qur'an, Surah Ta-Ha, ayah 114 [source: Qur'an Ta-Ha 114].
Note on wording: Because it is three words, many students memorize it within minutes. That's fine — the value is in saying it consistently, not in saying it dramatically.
3. Dua for a moment of stuck-ness — mid-exam
What it means (translation of meaning): A short supplication asking Allah to make what is difficult easy, since He is the One who can make the difficult easy whenever He wills.
Occasion: A question you did not expect. A blank moment. A calculation that isn't coming. Recite this quietly to yourself and move on — do not spend the exam ruminating.
Where it is from: Narration attributed to the Prophet ﷺ [source: hadith on ease when Allah wills — verify with a hadith scholar or a printed compilation before public use]. Because the exact wording and grading vary across compilations, we deliberately do not paste Arabic text here. Ask your local imam or check a printed hadith collection.
Note on wording: If you cannot verify the exact wording in time, the general principle is still Sunnah — turning to Allah in a moment of difficulty is always encouraged.
4. Sujud al-shukr — after the result
What it means: Sujud al-shukr is the prostration of thankfulness. It is not a fixed spoken formula — it is an action: a single sajdah made when good news reaches you.
Occasion: When you get a result you are grateful for — a passing grade, an acceptance, a scholarship. The Prophet ﷺ is reported to have prostrated when good news reached him [source: hadith on sujud al-shukr].
Note on wording: There is no obligatory formula to recite. Say what is in your heart — thank Allah in your own words.
Key takeaway. Two duas from the Qur'an (Ta-Ha 25-28 and Ta-Ha 114), one from the Sunnah, and one Sunnah action — that's the full toolkit for exam season.
When and how to say each dua
The order matters less than the consistency. Here is a schedule that maps duas onto the actual timeline of an exam day.
| Timing | What to say | Length |
|---|---|---|
| Morning of the exam (after Fajr) | Rabbi zidni ilma + a short personal dua for tawfiq | ~30 seconds |
| Walking into the exam hall | Dua of Musa (عليه السلام), Ta-Ha 25-28 | ~30 seconds |
| Before turning the paper over | Bismillah + Ta-Ha 25-28 again quietly | ~15 seconds |
| Mid-exam, when stuck | Short dua for difficulty | ~5 seconds |
| After the exam | "Alhamdulillah", regardless of how it went | Instant |
| When results arrive (if good) | Sujud al-shukr | 1 sajdah |
A few practical notes:
- You do not need to raise your hands or move your lips visibly. Reciting quietly inside your head is valid.
- You do not need wudu to make dua. You do need wudu for sujud al-shukr (treat it like any prostration).
- Do not skip the preparation. A student who revises properly and makes dua is doing both halves of what Islam asks. A student who only makes dua is skipping the taking-of-means.
How to memorize these duas by heart in seven days
Most students save duas to a note or a screenshot and then never actually memorize them. The result: the moment you need them, you're fumbling with your phone or reciting a broken half from memory. Better to spend one week burning the four duas into long-term memory using short spaced repetition.
We use the same principle inside SABR's dua-memorization track — small daily sessions, ayah by ayah, with the meaning and occasion tied to the words. You do not need the app to do this. You need a plan and a Mushaf.
A 7-day plan (roughly 5 minutes per day):
- Day 1 — Learn Rabbi zidni ilma (3 words). Recite it 20 times.
- Day 2 — Revise Rabbi zidni ilma. Start the first phrase of Dua of Musa (Rabbi shrah li sadri). Recite 20 times.
- Day 3 — Revise days 1-2. Add the second phrase (wa yassir li amri). Recite 20 times.
- Day 4 — Revise days 1-3. Add the third phrase (wahlul 'uqdatam min lisani). Recite 20 times.
- Day 5 — Revise days 1-4. Add the final phrase (yafqahu qawli). Recite the whole Ta-Ha 25-28 together.
- Day 6 — Full recitation of both Qur'anic duas. Learn the short dua for difficulty (from your verified source).
- Day 7 — Full recall test. Recite all four without reading. Then keep a daily 30-second refresh going forever.
If you want an app that runs this loop automatically — with the daily revision scheduled for you and the streak tracked so you don't miss a day — that's what we built SABR for. Our dua track uses the same repetition + spaced-revision engine as our Qur'an memorization path, so the words actually stick.
Key takeaway. Save the dua to your notes and you'll forget it. Recite it 20 times a day for a week and you'll have it for the rest of your life.
An important note on authenticity and tajwid
We deliberately did not paste Arabic wording in this article. Here is why: articles on the internet can contain typos, missing letters, or wrong diacritics. For something as sacred as a dua from the Qur'an, that is not acceptable. Please get the exact Arabic from:
- A printed Mushaf (for the two Ta-Ha duas).
- A verified hadith collection or a qualified teacher (for the dua for difficulty).
- Quran.com or a similar established digital Mushaf if you cannot access a printed one [source: Quran.com Surah Ta-Ha].
SABR helps with memorization structure, repetition, and building a daily habit. For correct tajwid, for confirming a hadith's grade, and for detailed rulings on how and when to make dua, we always recommend learning with a qualified teacher or asking your local imam. This article is not a fatwa and SABR is not a scholarly source.
Frequently asked questions
What is the best dua for exams in Islam?
The most widely recommended dua for exams is the dua of Musa (عليه السلام) from Surah Ta-Ha, ayat 25 to 28, in which he asks Allah to expand his chest, ease his affair, and untie the knot from his tongue. It maps directly onto exam anxiety — nerves, difficulty, and freezing up when it is time to speak.
Can I recite exam duas silently during the test?
Yes. Dua does not require raising your hands, moving your lips, or being in a state of wudu. You can recite any of these duas silently in your heart during an exam without disturbing anyone or breaking the rules of the exam.
Is there a specific dua for good results after an exam?
There is no fixed verbal formula for after a result. The established Sunnah practice when receiving good news is sujud al-shukr — a single prostration of thankfulness to Allah. You can also say 'Alhamdulillah' and thank Allah in your own words.
How many times should I recite Rabbi zidni ilma?
There is no fixed number. It is a Qur'anic dua from Surah Ta-Ha 114 and can be recited any time — a common habit among students is to say it once before opening notes or a textbook, and again at the start of each new study session.
Do these duas guarantee I will pass my exam?
No. No dua guarantees a specific worldly outcome — Islamic scholarship is clear that Allah answers duas in the way that is best for the person, which may or may not match what we asked for. Duas are recited alongside genuine preparation, not as a replacement for it.
What if I cannot memorize the Arabic in time for my next exam?
Recite it while reading from a Mushaf or a trusted app. The memorization plan in this article is for building the habit long-term. For an exam this week, reading is completely fine — start the 7-day plan afterwards.
About the author
This article was written by the SABR editorial team and reviewed by the founder of SABR (4,000+ active users in month one). SABR is a Duolingo-style app for memorizing the Qur'an, the 99 Names of Allah, and authentic everyday duas. If you want a structured way to actually memorize the duas in this article — instead of screenshotting them and forgetting — you can download SABR on iOS or Android, or read more of our student and Hifz guides.
Start memorizing your duas today
Stop saving duas to your camera roll and never learning them. SABR runs the exact 7-day repetition plan above automatically, with daily revision scheduled for you and a streak to keep you honest. The standard learning path is free.
- Visit https://get-sabr.com
- Download on iOS: https://apps.apple.com/us/app/sabr-quran-memorization/id6761574702
- Get it on Google Play: https://play.google.com/store/apps/details?id=com.sabr.app
SABR helps with memorization structure, repetition, and consistency. For exact Arabic wording, tajwid correction, hadith grading, and detailed rulings on dua, please learn with a qualified teacher or ask your local imam.
Last updated 2026-08-18.
Frequently asked questions
What is the best dua for exams in Islam?+
The most widely recommended dua for exams is the dua of Musa (عليه السلام) from Surah Ta-Ha, ayat 25 to 28, in which he asks Allah to expand his chest, ease his affair, and untie the knot from his tongue. It maps directly onto exam anxiety — nerves, difficulty, and freezing up when it is time to speak.
Can I recite exam duas silently during the test?+
Yes. Dua does not require raising your hands, moving your lips, or being in a state of wudu. You can recite any of these duas silently in your heart during an exam without disturbing anyone or breaking the rules of the exam.
Is there a specific dua for good results after an exam?+
There is no fixed verbal formula for after a result. The established Sunnah practice when receiving good news is sujud al-shukr — a single prostration of thankfulness to Allah. You can also say 'Alhamdulillah' and thank Allah in your own words.
How many times should I recite Rabbi zidni ilma?+
There is no fixed number. It is a Qur'anic dua from Surah Ta-Ha 114 and can be recited any time — a common habit among students is to say it once before opening notes or a textbook, and again at the start of each new study session.
Do these duas guarantee I will pass my exam?+
No. No dua guarantees a specific worldly outcome — Islamic scholarship is clear that Allah answers duas in the way that is best for the person, which may or may not match what we asked for. Duas are recited alongside genuine preparation, not as a replacement for it.
What if I cannot memorize the Arabic in time for my next exam?+
Recite it while reading from a Mushaf or a trusted app. The memorization plan in this article is for building the habit long-term. For an exam this week, reading is completely fine — start the 7-day plan afterwards.
SABR editorial team
We build SABR — a Duolingo-style Qur'an memorization app with 4,000+ active users in its first month. For tajwid and recitation correction, we still recommend learning with a qualified teacher.
Want to start memorizing today?
Download SABR free. The Qur'an memorization path is always free — Premium adds flexibility.