Duas for Exams, Success & Istikhara — With Sources

بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ
Dua & Azkar · Exams, Success & Istikhara

Duas for Exams, Success & Istikhara

No dua in the Sunnah is made only for exams — here is what the sources actually give: the decision dua, the knowledge dua, and the refuge from laziness, each with its source and grade.

Short answer: There is no dua for exams in the Sunnah — the exam-day formulas online are not narrations. What the sources do give is better: the Prophet’s ﷺ istikhara dua for any decision (Sahih al-Bukhari 1166), the Qur’an’s own words “My Lord! Increase me in knowledge” (20:114), and his ﷺ refuge from laziness and useless knowledge (Sahih Muslim 2722).

ImanAtlas does not give fatwas. For your own situation, ask a qualified scholar you trust.

Beyond the frame the narration itself gives, this page adds nothing — no count, no course, no sign to wait for.

The dua for a decision: istikhara

This is the dua the Prophet ﷺ taught for decisions themselves — Jabir’s narration, whole: taught “in all matters, as he taught us the Suras of the Qur’an”; two rak’ahs other than the obligatory prayer; the dua after the prayer; and the need named inside it. The narration names no special surahs for the rak’ahs, no hour, no repetition of the dua, no sign and no dream — this page adds none of those:

اللَّهُمَّ إِنِّي أَسْتَخِيرُكَ بِعِلْمِكَ وَأَسْتَقْدِرُكَ بِقُدْرَتِكَ، وَأَسْأَلُكَ مِنْ فَضْلِكَ الْعَظِيمِ، فَإِنَّكَ تَقْدِرُ وَلاَ أَقْدِرُ وَتَعْلَمُ وَلاَ أَعْلَمُ وَأَنْتَ عَلاَّمُ الْغُيُوبِ، اللَّهُمَّ إِنْ كُنْتَ تَعْلَمُ أَنَّ هَذَا الأَمْرَ خَيْرٌ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي ـ أَوْ قَالَ عَاجِلِ أَمْرِي وَآجِلِهِ ـ فَاقْدُرْهُ لِي وَيَسِّرْهُ لِي ثُمَّ بَارِكْ لِي فِيهِ، وَإِنْ كُنْتَ تَعْلَمُ أَنَّ هَذَا الأَمْرَ شَرٌّ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي ـ أَوْ قَالَ فِي عَاجِلِ أَمْرِي وَآجِلِهِ ـ فَاصْرِفْهُ عَنِّي وَاصْرِفْنِي عَنْهُ، وَاقْدُرْ لِي الْخَيْرَ حَيْثُ كَانَ ثُمَّ أَرْضِنِي بِهِ

Allahumma inni astakhiruka bi-‘ilmik, wa astaqdiruka bi-qudratik, wa as’aluka min fadlikal-‘azim. Fa-innaka taqdiru wa la aqdir, wa ta’lamu wa la a’lam, wa anta ‘Allamul-ghuyub. Allahumma in kunta ta’lamu anna hadhal-amra khayrun li fi dini wa ma’ashi wa ‘aqibati amri — aw qala ‘ajili amri wa ajilih — faqdurhu li wa yassirhu li thumma barik li fih. Wa in kunta ta’lamu anna hadhal-amra sharrun li fi dini wa ma’ashi wa ‘aqibati amri — aw qala fi ‘ajili amri wa ajilih — fasrifhu ‘anni wasrifni ‘anh, waqdir liyal-khayra haythu kan, thummar-dini bih.

“Narrated Jabir bin `Abdullah: The Prophet (p.b.u.h) used to teach us the way of doing Istikhara (Istikhara means to ask Allah to guide one to the right sort of action concerning any job or a deed), in all matters as he taught us the Suras of the Qur’an. He said, "If anyone of you thinks of doing any job he should offer a two rak`at prayer other than the compulsory ones and say (after the prayer): — ‘Allahumma inni astakhiruka bi’ilmika, Wa astaqdiruka bi-qudratika, Wa as’alaka min fadlika Al-`azlm Fa-innaka taqdiru Wala aqdiru, Wa ta’lamu Wala a’lamu, Wa anta ‘allamu l-ghuyub. Allahumma, in kunta ta’lam anna hadha-lamra Khairun li fi dini wa ma’ashi wa’aqibati `Amri (or ‘ajili `Amri wa’ajilihi) Faqdirhu wa yas-sirhu li thumma barik li Fihi, Wa in kunta ta’lamu anna hadha-lamra shar-run li fi dini wa ma’ashi wa’aqibati `Amri (or fi’ajili `Amri wa ajilihi) Fasrifhu anni was-rifni anhu. Waqdir li al-khaira haithu kana Thumma ardini bihi.’ (O Allah! I ask guidance from Your knowledge, And Power from Your Might and I ask for Your great blessings. You are capable and I am not. You know and I do not and You know the unseen. O Allah! If You know that this job is good for my religion and my subsistence and in my Hereafter–(or said: If it is better for my present and later needs)–Then You ordain it for me and make it easy for me to get, And then bless me in it, and if You know that this job is harmful to me In my religion and subsistence and in the Hereafter–(or said: If it is worse for my present and later needs)–Then keep it away from me and let me be away from it. And ordain for me whatever is good for me, And make me satisfied with it). The Prophet (ﷺ) added that then the person should name (mention) his need."”

Sahih al-Bukhari 1166

Its own page: The Istikhara Dua — Bukhari 1166 · 6382 · 7390, where all three of Bukhari’s printings stand side by side.

One line on the printed translation: sunnah.com’s Bukhari text is the older USC-MSA rendering, and it renders “this matter” (hadha-l-amr) as “this job”. It is printed as captured; this page’s own words always say “the matter”. And one correction carried by this page: istikhara is often cited online as “Bukhari 1162”. That number is a different narration — ‘Aisha’s, about the Prophet ﷺ speaking with her after the Fajr sunnah rak’ahs. The istikhara narration is 1166.

“My Lord, increase me in knowledge”

The Qur’an’s own knowledge dua — words Allah commanded His Prophet ﷺ to say, inside a verse about not hastening with the revelation. The verse states no count, no moment and no occasion:

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

rabbi zid’nī ʿil’man

“Exalted is Allah, the True King! Do not rush to recite ˹a revelation of˺ the Quran ˹O Prophet˺ before it is ˹properly˺ conveyed to you, and pray, "My Lord! Increase me in knowledge."”

Qur’an 20:114

Its own page: Rabbi Zidni ‘Ilma — the Dua for Knowledge, where the whole verse stands as a block.

The Prophet’s ﷺ refuge from laziness and useless knowledge

Zayd ibn Arqam reported that he would say nothing except what the Messenger of Allah ﷺ used to say. This is that supplication — refuge from incapacity and sloth stands first in it, and refuge from knowledge that does not benefit stands in its second half. It is printed as his ﷺ regular dua, not re-labelled an exam formula:

اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْعَجْزِ وَالْكَسَلِ وَالْجُبْنِ وَالْبُخْلِ وَالْهَرَمِ وَعَذَابِ الْقَبْرِ اللَّهُمَّ آتِ نَفْسِي تَقْوَاهَا وَزَكِّهَا أَنْتَ خَيْرُ مَنْ زَكَّاهَا أَنْتَ وَلِيُّهَا وَمَوْلاَهَا اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ عِلْمٍ لاَ يَنْفَعُ وَمِنْ قَلْبٍ لاَ يَخْشَعُ وَمِنْ نَفْسٍ لاَ تَشْبَعُ وَمِنْ دَعْوَةٍ لاَ يُسْتَجَابُ لَهَا

“O Allah, I seek refuge in Thee from incapacity, from sloth, from cowardice, from miserliness, decrepitude and from torment of the grave. O Allah, grant to my soul the sense of righteousness and purify it, for Thou art the Best Purifier thereof. Thou art the Protecting Friend thereof, and Guardian thereof. O Allah, I seek refuge in Thee from the knowledge which does not benefit, from the heart that does not entertain the fear (of Allah), from the soul that does not feel contented and the supplication that is not responded.”

Sahih Muslim 2722

Its own page: The Dua Against Useless Knowledge, where all three printings of Zayd’s narration stand side by side.

The path in search of knowledge

Not a dua — the Prophet’s ﷺ saying about seeking knowledge, printed as his saying. The narration also carries relief for relief, concealment for concealment, and the gatherings that recite and teach the Qur’an; its knowledge sentence is quoted whole:

وَمَنْ سَلَكَ طَرِيقًا يَلْتَمِسُ فِيهِ عِلْمًا سَهَّلَ اللَّهُ لَهُ بِهِ طَرِيقًا إِلَى الْجَنَّةِ

“Abu Huraira reported Allah’s Messenger (ﷺ) as saying: … and he who treads the path in search of knowledge, Allah would make that path easy, leading to Paradise for him …”

Sahih Muslim 2699

The “easy path” in the narration’s words leads to Paradise. This page does not re-voice it as ease in an exam or a result.

What the Qur’an says about the rank of knowledge

Also not a dua — the Qur’an’s statement about the rank of the people of knowledge, the frame these duas sit inside. The verse’s first half is the etiquette of gatherings (make room; rise when told to rise); its elevation clause is printed here:

يَرْفَعِ ٱللَّهُ ٱلَّذِينَ ءَامَنُوا۟ مِنكُمْ وَٱلَّذِينَ أُوتُوا۟ ٱلْعِلْمَ دَرَجَٰتٍ

yarfaʿi l-lahu alladhīna āmanū minkum wa-alladhīna ūtū l-ʿil’ma darajātin

“O believers! When you are told to make room in gatherings, then do so. Allah will make room for you ˹in His grace˺. And if you are told to rise, then do so. Allah will elevate those of you who are faithful, and ˹raise˺ those gifted with knowledge in rank. And Allah is All-Aware of what you do.”

Qur’an 58:11

“Raise in rank” is rank with Allah, in the verse’s own terms — the verse is not talking about exam grades, and it is never presented here as words “to recite so that” anything happens.

Before the task itself

Two sourced duas readers reach for before a hard task live in full on their own pages. Musa’s dua as he was sent to Pharaoh — “My Lord, expand for me my chest, ease for me my task” (Qur’an 20:25–28) — is printed with its sources on the Duas for Rizq, Debt, Job & Business page, and it now has a page of its own in this cluster too: Rabbi Shrah Li Sadri — Musa’s Dua Before the Task; the exam sites call it an exam dua, but its narration is Musa’s mission, and this page does not re-label it. The Prophet’s ﷺ after-Fajr dua for beneficial knowledge, sound provision and accepted deeds (Sunan Ibn Majah 925, Sahih) is printed on the Morning Duas & Azkar page.

Decisions, methods and your own situation

These pages print duas with their sources; they do not decide anyone’s course, subject or offer, and they do not extend the istikhara narration into a method beyond its own frame. Repeating it over days, combining it with other prayers, and what counts as its answer are questions of fiqh, and fiqh is not given here.

ImanAtlas does not give fatwas. For your own situation, ask a qualified scholar you trust.

As the note at the top of this page says, nothing is added beyond the frame the narration itself gives.

Related sets: “Our Lord, give us good in this world and good in the Hereafter” (Qur’an 2:201) and Musa’s dua of need (Qur’an 28:24) live in full on the Rizq page; the proven duas for hard moments — Yunus’s dua and the refuge duas — are on the Anxiety & Stress and Morning pages.

Widely shared claims, checked

The famous “benefit me” dua, with its grades shown. The dua every exam list leads with — “O Allah, benefit me with that which You have taught me, and teach me that which will benefit me, and increase me in knowledge” — was captured for this page on both its routes, and sunnah.com prints Da’if (Darussalam) for both of them. Inside the Tirmidhi narration, at-Tirmidhi himself calls it hasan gharib from this route. All three pieces of the printed record are shown here, the conflict disclosed and never resolved — the same treatment this site gives every grading conflict:

اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي وَعَلِّمْنِي مَا يَنْفَعُنِي وَزِدْنِي عِلْمًا الْحَمْدُ لِلَّهِ عَلَى كُلِّ حَالٍ وَأَعُوذُ بِاللَّهِ مِنْ حَالِ أَهْلِ النَّارِ

Allāhummanfa`nī bimā `allamtanī wa `allimnī mā yanfa`unī, wa zidnī `ilma, al-ḥamdulillāhi `alā kulli ḥālin, wa a`ūdhu billāhi min ḥāli ahlin-nār

“Abu Hurairah, may Allah be pleased with him, narrated that the Messenger of Allah (ﷺ) said: "O Allah, benefit me with that which You have taught me, and teach me that which will benefit me, and increase me in knowledge. All praise is due to Allah in every condition, and I seek refuge in Allah from the condition of the people of the Fire (Allāhummanfa`nī bimā `allamtanī wa `allimnī mā yanfa`unī, wa zidnī `ilma, al-ḥamdulillāhi `alā kulli ḥālin, wa a`ūdhu billāhi min ḥāli ahlin-nār)."”

Jami` at-Tirmidhi 3599 · Sunan Ibn Majah 251
Grade: Da’if (Darussalam), as printed at sunnah.com for Tirmidhi 3599 — at-Tirmidhi’s own words in the narration call it hasan gharib.
Grade: Da’if (Darussalam), as printed for Ibn Majah 251 — whose wording ends at “Praise is to Allah in all circumstances”, without the closing refuge sentence.

The exam-moment dua family. Fixed formulas circulate for fixed moments: a dua to start revision (“the understanding of the Prophets and the memory of the Messengers…”), an entrustment dua said after studying so the material is “returned” at need, a formula for when an answer will not come, a hamd for handing in the paper. None of them appears in the collections this page prints from, in authentic or weak reports — so none of their wordings is printed here as a narration. Asking Allah in one’s own words at any of those moments is general dua; what does not exist is a transmitted formula for them.

The counts and courses attached to these duas online. Figures circulate with this topic: Musa’s dua 3 times before the paper “for recalling power”; a clause of Surah al-Anfal 7 times framed by Durood 3 times before and after, sold with testimonials and a promise of grades; Rabbi zidni ‘ilma 3 times before studying and 7 times after every obligatory prayer; the angels’ words (Qur’an 2:32) 7 times before opening the paper; a blanket rule of “each dua three times after wudu”; a Name of Allah 11 times blown onto almonds eaten each morning for memory; and a “Complete Exam Dua” stitched from Musa’s verses, an un-sourced insertion, and a dua from Sahih Ibn Hibban, printed as one text. None of these figures, courses or stitches appears in any source on this page.

The additions to istikhara. Step-lists add to Bukhari 1166: fixed surahs for the two rak’ahs (al-Kafirun, then al-Ikhlas), fixed times, repetition across days, and the expectation that the answer arrives in a dream. The narration as captured contains none of these. This page states that descriptively — what the text does and does not contain — and rules nothing about the additions themselves; that judgement is fiqh, and the line above covers your own case.

The exam and istikhara duas, one by one

Five of these duas now have a page of their own — the same texts, with their routes and differences opened out:

The Istikhara Dua — the dua for a decision, on all three of Bukhari’s printings side by side (Bukhari 1166 · 6382 · 7390).

Allahumma La Sahla — the dua for when something has become difficult, captured through Hisn al-Muslim 139 (Sahih Ibn Hibban 2427).

Rabbi Zidni ‘Ilma — the dua for knowledge (Qur’an 20:114), the whole verse printed as a block.

The Dua Against Useless Knowledge — Zayd’s narration on all three of its printings (Muslim 2722 · Nasa’i 5538 · Ibn Majah 250), and the form the field misattributes.

Rabbi Shrah Li Sadri — Musa’s dua before the task (Qur’an 20:25–28), printed whole in its Qur’an setting.

Frequently asked questions

Is there a dua made only for exams in the Sunnah?

No. No narration in the collections this page prints from gives a dua for exams; the formulas circulated for revision, receiving the paper, stumbling over an answer and handing it in appear in none of them. What the sources do give is on this page: the istikhara dua for decisions, the Qur’an’s dua for knowledge, and the Prophet’s ﷺ refuge from laziness and useless knowledge.

What is the istikhara dua, and where is it narrated?

It is the dua the Prophet ﷺ taught for any decision, narrated by Jabir in Sahih al-Bukhari 1166: he ﷺ taught it “in all matters, as he taught us the Suras of the Qur’an” — two rak’ahs other than the obligatory prayer, then the dua, naming the need inside it. Its full Arabic and translation are the first block on this page.

Some sites cite istikhara as Bukhari 1162. Which number is right?

1166. Sahih al-Bukhari 1162 was captured for this page: it is ‘Aisha’s narration that after offering the two rak’ahs (sunnah) the Prophet ﷺ used to talk to her if she was awake, otherwise he would lie down — it contains no istikhara and no dua. The istikhara narration stands four hadiths later in the same book, at 1166.

Must the answer to istikhara come in a dream?

The narration itself contains no dream, no sign and no repetition: two rak’ahs, the dua, and the need named inside it (Sahih al-Bukhari 1166). That is a statement about what the text holds, not a ruling — questions beyond the narration’s frame are fiqh.

How many times should I recite “Rabbi zidni ‘ilma” or Musa’s dua before the paper?

Neither text states a number. The verse (Qur’an 20:114) and Musa’s dua (Qur’an 20:25–28, printed in full on the Rizq page) carry no count, no moment and no course. The figures attached online — 3 times before the paper, 7 times after every prayer — appear in no source on this page and are named in its checked-claims section.

Is “Allahumma la sahla illa ma ja’altahu sahla” (there is no ease except what You make easy) authentic — and why is its text not printed here?

It is authentic on the route this site could verify. Hisn al-Muslim carries it as its chapter 139 and gives its source as Sahih Ibn Hibban 2427, with Ibn Hajar’s grading of authentic in the book’s own reference note. Sahih Ibn Hibban itself is not hosted on sunnah.com, so the wording was captured through the Hisn route — and the dua is now printed in full, with both wordings the books carry, on its own page: Allahumma La Sahla — the Dua When Something Is Difficult. It is not reprinted on this page because its own page carries it whole.

Is the dua “Allahumma inni astawdi’uka ma qara’tu wa ma hafiztu” (I entrust to You what I read and memorised) a hadith?

No collection is named anywhere it circulates, and the whole exam-moment family — revision-start, entrustment, stumbling and handing-in formulas — appears in none of the collections this page prints from, in authentic or weak reports. It is therefore not printed here as a narration. Asking Allah in your own words after studying is general dua; a transmitted formula for that moment does not exist in the sources checked.

Why is the famous “benefit me with what You have taught me” dua not in the main list?

Because of what its printed record holds. It was captured on both its routes — Jami` at-Tirmidhi 3599 and Sunan Ibn Majah 251 — and sunnah.com prints Da’if (Darussalam) for both, while at-Tirmidhi himself calls it hasan gharib inside the narration. This page shows all of that in its checked-claims section rather than hiding the grade or promoting the dua into the main set.

Sources

Translations on this page: hadith — the translations printed at sunnah.com (its Bukhari and Muslim texts are the older USC-MSA renderings, printed as captured, never silently modernised); Qur’an — Dr. Mustafa Khattab (via quran.com). Arabic is copied from those sources, never typed from memory. No repetition count is printed unless the narration itself states it — and no narration on this page states one.

Share this set