
Duas for Exams and Difficult Times
Hardships are part of life. Whether you face a high-stakes exam, a job loss, or an illness, Islam provides powerful supplications (duas) to find calm, clarity, and trust in Allah. The Prophet ﷺ said: "Dua is the essence of worship." (Tirmidhi, no. 3371) These authentic supplications from the Quran and Sunnah are your strongest support in difficult moments.
Key Points
- Dua (دعاء) is an act of worship in itself — recommended before and during hardships.
- Specific duas exist for knowledge, mental clarity, and inner peace.
- Tawakkul (التوكل) — trust in Allah — is the spiritual foundation when facing difficulties.
- These supplications complement hard work; they don't replace it.
- Recite them with presence of heart (ḥuḍūr al-qalb), not mechanically.
- Some duas are tailored for exams; others work for any hardship.
- The Muslim Expert app includes these supplications with Arabic text and transliteration.
1. The Dua for Knowledge
رَبِّ زِدْنِي عِلْمًا
Rabbi zidnī 'ilmā
Translation: "My Lord, increase me in knowledge."
Source: Quran, Surah Tā-Hā (20:114).
Before any study session or exam, this short supplication places your effort in the right intention. It acknowledges that Allah is the Source of all knowledge. Its brevity makes it easy to memorize and repeat often. It reminds you that learning is a spiritual act as much as an intellectual one.
"Allah raises those who believe among you and those who have been given knowledge by degrees." — Quran, Al-Mujadila (58:11)
2. The Dua of Moses (Musa) for Clarity and Confidence
رَبِّ اشْرَحْ لِي صَدْرِي وَيَسِّرْ لِي أَمْرِي وَاحْلُلْ عُقْدَةً مِنْ لِسَانِي يَفْقَهُوا قَوْلِي
Rabbi shraḥ lī ṣadrī, wa yassir lī amrī, wa ḥlul 'uqdatan min lisānī, yafqahū qawlī.
Translation: "My Lord, expand my breast, ease my task, and untie the knot from my tongue so they understand my speech."
Source: Quran, Surah Tā-Hā (20:25-28). Musa (عليه السلام) recited this dua before standing before Pharaoh.
This dua is especially powerful before an oral exam, presentation, or interview. It asks for three essential things: an open heart (sharḥ al-ṣadr), ease in the task, and clarity in speech. Musa (عليه السلام) embodied trust in Allah while facing an enormous mission. Draw inspiration from that posture.
"And whoever relies upon Allah — He will be sufficient for him." — Quran, At-Talaq (65:3)

3. The Dua for Anxiety and Stress
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَمِّ وَالْحَزَنِ وَالْعَجْزِ وَالْكَسَلِ
Allāhumma innī a'ūdhu bika minal hammi wal ḥazani, wal 'ajzi wal kasali.
Translation: "O Allah, I seek refuge in You from anxiety and grief, from weakness and laziness."
Source: Bukhari, no. 2893 — sahih.
Hamm (همّ) is anxiety about what hasn't happened yet. Ḥazan (حَزَن) is sadness over what has passed. This dua covers both dimensions of stress. Students recite it consistently before exams. It acts as an emotional reset — placing the burden in Allah's hands.
"Verily, in the remembrance of Allah do hearts find rest." — Quran, Ar-Ra'd (13:28)
4. The Dua of Yunus for Desperate Situations
لَا إِلَهَ إِلَّا أَنْتَ سُبْحَانَكَ إِنِّي كُنْتُ مِنَ الظَّالِمِينَ
Lā ilāha illā anta subḥānaka innī kuntu mina ẓ-ẓālimīn.
Translation: "There is no deity except You; glory be to You. Indeed, I have been of the wrongdoers."
Source: Quran, Al-Anbiya' (21:87). The Prophet ﷺ said: "No Muslim calls upon Allah with these words except that Allah responds to him." (Tirmidhi, no. 3505 — sahih)
When everything seems lost — a sudden failure, an overwhelming crisis — this is the dua that reaches rock bottom and rises back toward Allah. Yunus (عليه السلام) was in the absolute darkness of a whale's belly. He was saved through this supplication. Remember: no situation is beyond Allah's mercy.
5. The Dua for Ease in Hardship
اللَّهُمَّ لَا سَهْلَ إِلَّا مَا جَعَلْتَهُ سَهْلًا وَأَنْتَ تَجْعَلُ الْحَزْنَ إِذَا شِئْتَ سَهْلًا
Allāhumma lā sahla illā mā ja'altahu sahlan, wa anta taj'alul ḥazna idhā shi'ta sahlan.
Translation: "O Allah, nothing is easy except what You make easy. And You make difficulty easy when You will."
Source: Ibn Hibban, no. 2427 — sahih.
This dua is a declaration of spiritual realism. It acknowledges that ease and difficulty come from Allah. It releases the pressure of needing to control everything. Recite it when facing something that feels impossible: a hard exam, a long illness, a blocked professional situation. It opens the door to hope without denying reality.
"With hardship comes ease. With hardship comes ease." — Quran, Al-Inshirah (94:5-6)
6. The Dua for Guidance in Difficult Decisions
اللَّهُمَّ خِرْ لِي وَاخْتَرْ لِي
Allāhumma khir lī wakhtār lī.
Translation: "O Allah, choose what is good for me and select it for me."
Source: Reported by At-Tabarani — hasan. Companion to the Istikhara prayer.
When facing a major decision — choosing a career path, changing jobs, making a life decision — this short dua accompanies the Istikhara prayer (صلاة الاستخارة). It expresses complete trust in divine wisdom. The Istikhara prayer is a Prophetic Sunnah taught in Bukhari, no. 1162. For significant life decisions, consulting a scholar or imam is recommended.
7. The Dua During Illness and Suffering
اللَّهُمَّ رَبَّ النَّاسِ، أَذْهِبِ الْبَأْسَ، اشْفِ أَنْتَ الشَّافِي
Allāhumma Rabban-nāsi, adhhabil ba'sa, ishfi anta sh-shāfī, lā shifā'a illā shifā'uka, shifā'an lā yughādiru saqaman.
Translation: "O Allah, Lord of mankind, remove the affliction, and heal, for You are the Healer. There is no healing except Your healing — a healing that leaves no illness."
Source: Bukhari, no. 5750; Muslim, no. 2191 — sahih.
This dua is recited for oneself or a loved one who is sick. It acknowledges that Allah (Ash-Shāfī, the Healer) is the only true source of healing. Medical treatments are a means; recovery remains in Allah's hands. Recite it while placing your hand on the painful area, three times, as taught in the Sunnah.
8. The Prophet's ﷺ Dua for Inner Peace
يَا حَيُّ يَا قَيُّومُ، بِرَحْمَتِكَ أَسْتَغِيثُ
Yā ḥayyu yā qayyūmu, bi-raḥmatika astaghīthu.
Translation: "O Ever-Living, O Sustainer, by Your mercy I call for help."
Source: Tirmidhi, no. 3524 — sahih.
Al-Ḥayy (the Ever-Living) and Al-Qayyūm (the Sustainer) are among the greatest names of Allah. This dua places them at the heart of our supplication. Anas (رضي الله عنه) reports that the Prophet ﷺ often recited this. It suits every moment of distress: deep fatigue, discouragement, despair. Two words, immense power.
9. The Dua of Dawud for Gratitude and Strength
رَبِّ أَوْزِعْنِي أَنْ أَشْكُرَ نِعْمَتَكَ الَّتِي أَنْعَمْتَ عَلَيَّ وَعَلَى وَالِدَيَّ
Rabbi awzi'nī an ashkura ni'mataka allatī an'amta 'alayya wa 'alā wālidayya.
Translation: "My Lord, enable me to be grateful for Your favor which You have bestowed upon me and upon my parents."
Source: Quran, An-Naml (27:19); Al-Ahqaf (46:15).
In difficult moments, gratitude seems paradoxical. Yet it is a source of spiritual strength. Allah says: "If you are grateful, I will surely increase you [in favor]." (Ibrahim 14:7) This dua breaks the cycle of rumination. It redirects attention toward what remains good, even in hardship. Recite it after each prayer to anchor gratitude in your daily life.
10. The Final Dua — Entrusting Your Affairs to Allah
حَسْبِيَ اللَّهُ وَنِعْمَ الْوَكِيلُ
Ḥasbiyallāhu wa ni'ma l-wakīl.
Translation: "Allah is sufficient for me, and He is the best Disposer of affairs."
Source: Quran, Al-Imran (3:173). Recited by Prophet Ibrahim (عليه السلام) and the Prophet Muhammad ﷺ in their hardest moments (Bukhari, no. 4563).
This is the dua of total surrender to the Beloved. After doing everything — studying, working, praying — you place the result in Allah's hands. Tawakkul (التوكل) is not passivity: it means acting fully, then letting go. Recite it at the end of every exam, every effort, every project. It is the believer's breath after action.
When to Recite These Duas
These supplications can be recited at any time. However, certain moments are especially favorable:
- After each obligatory prayer — the heart is still in divine presence.
- In sujud (prostration) — the Prophet ﷺ said: "The servant is closest to his Lord when in sujud." (Muslim, no. 482)
- In the last third of the night — Allah descends and asks who is calling.
- Between adhan and iqama — a moment of high acceptance.
- Just before the exam — two minutes of silence and dua beat panic every time.
Frequently Asked Questions (FAQ)
Do these duas guarantee success in exams?
No — dua is not a magic formula. Allah responds to supplications according to His wisdom, not necessarily as we wish. Success depends on the work you put in AND Allah's will. Dua strengthens your inner state: calm, focus, and tawakkul. It puts you in the best possible condition.
Can these duas be recited in English?
Yes, dua in one's native language is valid. However, memorizing the authentic Arabic formulas is highly recommended. These formulas carry particular precision and power. Start with the shortest ones — Rabbi zidnī 'ilmā — and progress at your own pace.
How many times should a dua be repeated?
There is no mandatory number, except for specific formulas. The Prophet ﷺ liked to repeat his duas three times. The key is presence of heart and sincerity. One dua recited with full attention is worth more than ten recited distractedly.
Does dua replace medicine or professional help?
No. Islam encourages medical care. The Prophet ﷺ said: "Seek treatment, for Allah has not created a disease without creating a remedy." (Abu Dawud, no. 3855 — sahih) Dua and medicine are complementary, not opposites.
What exactly is tawakkul?
Tawakkul (التوكل) means fully trusting Allah after doing your part. It is not laziness or resignation. A companion asked the Prophet ﷺ whether he should tie his camel or trust in Allah. He replied: "Tie it, then put your trust in Allah." (Tirmidhi, no. 2517 — hasan)
Go Further
The Muslim Expert app (available here) provides a complete library of duas with Arabic text, transliteration, and translation. A perfect resource to find the right supplication in any situation, wherever you are.
May Allah grant you ease, success, and serenity in all your trials. Ameen.