- Published on
Dua for Passing a Test: Authentic Supplications
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • DeenUp
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

When the Stakes Are High and You Turn to Allah
Every student knows the feeling — the exam is tomorrow, the study session is ending, and somewhere between the last page of notes and sleep, there is a moment of real vulnerability. That is the moment when Muslims across every culture and century have turned to the same source: direct supplication to Allah. The dua for passing a test is not a formula or a shortcut. It is an expression of genuine dependence on the One who controls outcomes.
What Is the Dua for Passing a Test?
The most widely taught and authenticated dua for passing a test comes directly from the Quran — Surah Ta-Ha (20:114): Rabbi zidni ilma (رَبِّ زِدْنِي عِلْمًا), meaning "My Lord, increase me in knowledge." This three-word supplication is remarkable in its simplicity and its source: Allah Himself instructed the Prophet Muhammad ﷺ to say it. Scholars also recommend the dua for ease in difficulty — Allahumma la sahla illa ma ja'altahu sahla wa anta taj'alus-sa'ba idha shi'ta sahla — asking Allah to make the hard things easy. Together, these duas capture the complete Islamic posture before any test: seeking knowledge, seeking ease, and placing the outcome entirely in Allah's hands.
The Core Duas for Passing a Test
1. The Quranic Dua for Knowledge
This dua is from Surah Ta-Ha (20:114) — the only verse in the Quran where Allah commands the Prophet ﷺ to ask for more of something, and what He commands him to ask for is knowledge:
رَبِّ زِدْنِي عِلْمًا
Rabbi zidni ilma
"My Lord, increase me in knowledge." — (Surah Ta-Ha, 20:114)
Recite this at the start of your study session, before the exam, and whenever you feel stuck. It is short enough to say silently in any setting.
2. The Dua for Making Difficult Things Easy
This supplication is reported with a good chain and is widely used by scholars before examinations and important tasks:
اللَّهُمَّ لَا سَهْلَ إِلَّا مَا جَعَلْتَهُ سَهْلًا وَأَنْتَ تَجْعَلُ الصَّعْبَ إِذَا شِئْتَ سَهْلًا
Allahumma la sahla illa ma ja'altahu sahla, wa anta taj'alus-sa'ba idha shi'ta sahla
"O Allah, nothing is easy except what You make easy, and You can make the difficult easy if You wish." — (Ibn Hibban, Al-Anwar 2427; reported with a hasan chain)
This dua acknowledges a core Islamic truth: ease is not a given — it is a gift from Allah. Recite it before entering the exam room.
3. Prophet Musa's Dua for Clarity and Ease of Expression
For oral exams, presentations, or moments when anxiety freezes your thinking, Prophet Musa's (Alayhi as-Salam) supplication in Surah Ta-Ha is directly relevant:
رَبِّ اشْرَحْ لِي صَدْرِي وَيَسِّرْ لِي أَمْرِي وَاحْلُلْ عُقْدَةً مِّن لِّسَانِي يَفْقَهُوا قَوْلِي
Rabbi-shrah li sadri, wa yassir li amri, wahlul uqdatan min lisani, yafqahu qawli
"My Lord, expand my chest, ease my task, and remove the impediment from my tongue so they may understand my speech." — (Surah Ta-Ha, 20:25-28)
Musa ﷺ made this dua when facing a challenge far greater than any exam — confronting Pharaoh with the message of Islam. That context tells us Allah answers this dua in the most difficult moments.
A Reference Table: When to Recite Each Dua
| Dua | Best Time to Recite | Source |
|---|---|---|
| Rabbi zidni ilma | While studying, before exam | Quran 20:114 |
| Allahumma la sahla... | Before entering exam room | Ibn Hibban 2427 |
| Rabbi-shrah li sadri... | Before oral exams, presentations | Quran 20:25-28 |
| Bismillah | Before starting each question | Consistent Sunnah practice |
| Alhamdulillah | After the exam, upon completion | General Sunnah of gratitude |
The Islamic Framework: Dua and Effort Together
The Prophet ﷺ gave one of the clearest pieces of practical wisdom in Islamic teaching on this topic: "Tie your camel, then put your trust in Allah." (Al-Tirmidhi 2517) The man had asked whether to leave his camel untied and trust in Allah, or to tie it. The Prophet told him: do both.
For exams, this means:
- Study well — prepare as fully as you can. Dua does not substitute for preparation.
- Ask Allah — make dua sincerely, knowing that outcomes are in His hands alone.
- Accept the decree — after the exam, trust that whatever result comes is part of Allah's wisdom.
The Quran also promises: "With hardship comes ease — indeed, with hardship comes ease." (Surah Al-Sharh, 94:5-6) The repetition in the original Arabic (inna ma'al usri yusra) emphasizes that ease is not a one-time event — it comes again and again after difficulty. That promise stands whether the test is in an exam hall or in life more broadly.
Access daily duas and Quranic insights
DeenUp brings you curated duas for every situation, daily Quranic verses with context, and tools to build consistent Islamic habits — all grounded in authentic scholarship.
Download DeenUp on the App StoreBuilding the Habit: Dua Before Every Study Session
The best time to start making dua for an exam is not the night before — it is every time you open your books. Many students treat the dua as a last-minute resort. The Islamic model is different: weave supplication into the entire process.
A simple three-step habit for every study session:
- Begin with Bismillah and one recitation of Rabbi zidni ilma. This signals to your heart that you are seeking knowledge for Allah's sake.
- Set a study break aligned with prayer times. Stopping for Dhuhr or Asr re-centers you and makes the hours feel purposeful, not panicked.
- Close with a short dua of gratitude at the end of each session: Alhamdulillah for what you retained, and another request for ease in what remains.
Our full guide on how to make dua properly covers the conditions, manners, and attitudes that make supplication most effective — including the importance of halal earnings, sincere presence of heart, and not rushing the dua.
For students who want a broader collection of duas for academic life, our article on dua for studying and memorization compiles the authenticated supplications for retaining knowledge, understanding difficult material, and maintaining focus. And our guide on duas for exams and tests covers the widest range of supplications across different stages of exam preparation.
Tawakkul: The Heart Posture That Changes Everything
Tawakkul (تَوَكُّل) — complete reliance on Allah — is not passivity. It is the internal state of a Muslim who has done their part and then genuinely releases the outcome to Allah. For an exam, it means:
- You studied as well as you could.
- You made sincere dua.
- Now you walk in trusting that Allah's decree is better than anything you could have arranged.
This is not fatalism. It is freedom. The anxiety that paralyzes many students before exams often comes from the illusion that the result is entirely in their own hands. Tawakkul corrects that illusion without excusing laziness.
Demi Manifest's piece on trusting Allah through hardship explores tawakkul in depth — how to hold genuine effort and genuine trust together. And DeenBack's article on seeking Islamic knowledge provides the broader Islamic framing of why studying and learning are themselves acts of worship, not just means to worldly success.
For a focused dua practice in all areas of your life, our guide to making dua in sujood explains why sujood — the moment of prostration — is one of the most powerful times to make supplication, including asking Allah for success in your exams and daily challenges.
What to Say After the Exam
Islamic practice does not end when the pen is down. After any exam:
- Say Alhamdulillah — acknowledge that you completed it with Allah's help.
- Make a short dua of acceptance: "O Allah, I have done what I could. I accept Your decree."
- Avoid anxiously replaying every answer — that replaces tawakkul with anxiety.
- Return to your regular salah and dhikr routine as normal — do not treat worship as only a pre-exam tool.
The result, when it comes, is part of Allah's qadar (قَدَر). If it is good, express gratitude. If it falls short of what you hoped, know that difficulty in this world can be a form of elevation. The Prophet ﷺ said: "No fatigue, illness, anxiety, sorrow, harm, or sadness afflicts a Muslim — even the prick of a thorn — except that Allah expiates some of his sins through it." (Sahih al-Bukhari 5641)
Build daily dua habits with DeenUp
DeenUp delivers personalized dua reminders, daily Quranic verses with AI-powered insights, and tools to help you stay consistent — not just before exams, but every day.
Download DeenUp on the App StoreFrequently Asked Questions
What is the best dua for passing a test in Islam?
The most authentic dua for passing a test is Rabbi zidni ilma — "My Lord, increase me in knowledge" (Surah Ta-Ha, 20:114). Scholars also recommend reciting "Allahumma la sahla illa ma ja-altahu sahla" before exams, asking Allah to make difficult things easy. Both are well-sourced and widely taught.
Can I recite Surah Al-Sharh before an exam?
Yes. Reciting Surah Al-Sharh (94) before an exam is a sound practice. The surah contains the promise: 'With every hardship comes ease' (94:5-6) — a direct reminder that Allah grants relief after difficulty. Many scholars recommend its recitation when facing tests, challenges, or anxiety.
When should I recite the dua for passing a test?
Recite the dua for passing a test before beginning the exam, ideally after Fajr and again just before entering the exam room. During the exam, if stuck on a question, silently say Bismillah and proceed with focus. After the test, make a short dua of gratitude regardless of how it felt.
What if I did not study enough — can dua still help?
Dua is not a substitute for preparation. The Prophet said: 'Tie your camel, then put your trust in Allah' (Al-Tirmidhi 2517). The Islamic approach combines effort (studying, preparing properly) with tawakkul (trusting Allah's decree). Dua reinforces the effort — it does not replace it.
Is there a specific dua from the Quran for difficulty in speaking or thinking clearly?
Yes. Prophet Musa's dua in Surah Ta-Ha (20:25-28) asks: 'My Lord, expand my chest, ease my task, and remove the impediment from my tongue.' Many Muslims recite this before presentations, exams, or oral tests. It is fully Quranic and has been used for centuries for this purpose.
How many times should I repeat the dua for exams?
There is no specified number for repeating exam duas. Recite them with presence of heart (khushoo) rather than in a rush to hit a count. Quality of attention matters more than repetition. That said, reciting three times with focus is a common and practical approach many scholars recommend.
What should I do after the exam — any Islamic practice?
After any exam, make a short dua of gratitude: Alhamdulillah (All praise is for Allah). Then accept Allah's decree (qadar) with trust. If the result is good, thank Allah. If it is not what you hoped, trust that Allah's plan is better. Consistent salah and daily dhikr keep the heart steady through both outcomes.