- Authors

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

Quick answer
What is the dua for good grades in Islam?
The foundational dua is "Rabbi zidni ilma" — My Lord, increase me in knowledge (Quran 20:114). For ongoing academic success, pair it with "Allahumma infa-ni bima allamtani, wa allimni ma yanfa-uni, wa zidni ilma" from Sunan Ibn Majah 251, which asks Allah to benefit you with what you have learned.

When Effort Is Not Enough on Its Own
Every Muslim student knows the feeling: you studied hard, you prepared well, and yet when results come in, they do not reflect the effort you put in. Or perhaps the opposite — you froze in the exam despite knowing the material.
Islam has always understood that outcomes are in the hands of Allah. Preparation is your responsibility; results belong to Him. The link between those two realities is dua — sincere supplication that asks Allah to bless your effort, open your mind, and make the path of knowledge easy for you.
This is not passive wishful thinking. The Prophet Muhammad ﷺ declared that seeking knowledge is an obligation upon every Muslim (Ibn Majah 224), and he himself made specific duas for knowledge and understanding. This guide brings together those authentic supplications so you can make them part of your daily academic life.
What Is the Dua for Good Grades in Islam?
The primary dua for academic success is "Rabbi zidni ilma" — My Lord, increase me in knowledge (Quran 20:114). It is direct, Quranic, and can be recited in seconds before any study session. For sustained academic performance — not just exam day, but the entire process of learning and retention — pair it with the dua from Sunan Ibn Majah 251 that asks Allah to benefit you with what He has taught you, teach you what benefits you, and increase you in knowledge. Together, they cover both the seeking and the receiving of beneficial knowledge.
The Core Duas for Academic Success
Dua 1: Rabbi Zidni Ilma — The Knowledge Dua
This is the only direct Quranic command Allah gives to His Prophet about seeking more of something — and that thing is knowledge.
رَبِّ زِدْنِي عِلْمًا
Rabbi zidni 'ilma
"My Lord, increase me in knowledge."
— (Quran 20:114 — Surah Ta-Ha)
Recite this before opening a textbook, before a lecture, before an exam. It is short enough to say in a breath and carries the weight of a direct Quranic command. For a deeper exploration of this dua and others related to seeking knowledge, see our guide to dua for knowledge.
Dua 2: The Knowledge Benefit Dua
After studying, many students worry: will any of this actually stay? This dua from the Sunnah addresses that concern directly.
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا
Allahumma infa'ni bima 'allamtani, wa 'allimni ma yanfa'uni, wa zidni 'ilma
"O Allah, benefit me with what You have taught me, and teach me what benefits me, and increase me in knowledge."
— (Sunan Ibn Majah 251 — graded Hasan)
Recite this after every study session as an act of gratitude and hope. It asks for three things simultaneously: that what you learned actually helps you, that you are guided toward what is truly worth knowing, and that your knowledge keeps growing. For help building this into a consistent study habit, see our full guide on dua for studying and memorization.
Dua 3: Allahumma La Sahla — The Ease Dua
When a subject feels impossible, or when anxiety clouds your ability to think clearly, this Prophetic dua cuts through it.
اللَّهُمَّ لَا سَهْلَ إِلَّا مَا جَعَلْتَهُ سَهْلًا، وَأَنْتَ تَجْعَلُ الْحَزْنَ إِذَا شِئْتَ سَهْلًا
Allahumma la sahla illa ma ja'altahu sahla, wa anta taj'alul hazna idha shi'ta sahla
"O Allah, there is no ease except what You make easy. You make the difficult, when You will, easy."
— (Ibn Hibban 974 — Hasan)
This dua is especially powerful before a difficult exam or when you sit down to study a subject that genuinely intimidates you. It shifts your mindset from "this is impossible" to "this is possible with Allah's permission."
Dua 4: Rabbi-shrah Li Sadri — Prophet Musa's Dua for Clarity
When Prophet Musa ﷺ was sent with the most daunting mission possible — confronting Pharaoh — he did not ask for power or protection first. He asked Allah for an open chest, ease in his affair, and clear speech.
رَبِّ اشْرَحْ لِي صَدْرِي وَيَسِّرْ لِي أَمْرِي وَاحْلُلْ عُقْدَةً مِّن لِّسَانِي يَفْقَهُوا قَوْلِي
Rabbi-shrah li sadri, wa yassir li amri, wahlul 'uqdatan min lisani, yafqahu qawli
"My Lord, expand for me my chest, ease for me my task, and untie the knot from my tongue so they may understand my speech."
— (Quran 20:25-28 — Surah Ta-Ha)
Recite this before presentations, oral exams, or any situation where you need to communicate clearly under pressure. It is the dua of a prophet before his greatest challenge — and it is available to you right now.
A Daily Academic Dua Routine
| When | Dua | Source | Purpose |
|---|---|---|---|
| Before studying | Rabbi zidni 'ilma | Quran 20:114 | Open the session with blessing |
| Facing difficult material | Allahumma la sahla... | Ibn Hibban 974 | Ask for ease in complexity |
| After studying | Allahumma infa'ni... | Ibn Majah 251 | Seal retention with gratitude |
| Before a presentation or oral exam | Rabbi-shrah li sadri... | Quran 20:25-28 | Clarity of speech and mind |
| In sujood | Personal dua for success | General Sunnah | The closest point to Allah |
| After Fajr | Morning adhkar + Rabbi zidni ilma | Quran 20:114 | Set blessed intentions for the day |
The goal is not to recite all of these before every study session. Start with one — Rabbi zidni ilma, because it is Quranic and shortest. Layer in the others as they become natural. For more on building a consistent morning dua routine, see morning adhkar in Islam.
Do you feel your duas are unanswered?
Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.
Take the Dua Quiz
Why Islam Places Knowledge Among the Highest Acts of Worship
Getting good grades in Islam is not merely a personal achievement. It sits within a larger spiritual framework that elevates the pursuit of knowledge to an act of worship.
Allah says in the Quran: "Allah will raise those who have believed among you and those who were given knowledge, by degrees" (Surah Al-Mujadila, 58:11). The Arabic word used is darajat — ranks or levels. Knowledge, in the Quranic worldview, is one of the primary paths by which Allah elevates a believer.
The Prophet ﷺ reinforced this: "If anyone travels on a road in search of knowledge, Allah will cause him to travel one of the paths of Paradise" (Sahih Muslim 2699). The road here includes every library visit, every lecture attended, every difficult concept wrestled with.
This means that when you sit down to study with a sincere intention to use that knowledge for good — to serve others, to fulfill your responsibilities, to better understand Allah's creation — the studying itself becomes an act of worship. The grades are a worldly metric; the intention is what Allah weighs.
The Role of Parents: Making Dua for Your Children's Academic Success
If you are a parent, your dua for your child's academic journey carries special weight. The Prophet ﷺ included the parent's dua for their child among those supplications that are never rejected (Ibn Majah 3862).
Some parents focus their dua only on exams. The more powerful practice is sustained parental dua — asking Allah every day to make your child's learning beneficial, their effort sincere, their character strong, and their success a means of serving the ummah.
After your child completes a major exam, teach them the dua from Sunan Ibn Majah 251 — not just as a supplication for good results, but as a way of attributing any success to Allah and asking that knowledge actually benefits them. For more on teaching duas within the family, see dua for studying and memorization and our broader guide to academic exam duas.
How to Connect Dua to Effective Studying
Dua and effort must coexist. Here is a practical approach to making that connection real:
- Begin each study session with Bismillah and Rabbi zidni ilma. Takes five seconds. Makes every session an act of worship.
- End each session with the Ibn Majah 251 dua. This seals what you studied with a request for retention and benefit.
- When you hit a wall, pause and make dua before giving up. Try the ease dua (Ibn Hibban 974) and give yourself ten more minutes.
- Before sleeping, ask Allah to consolidate what you learned. Sleep is when memory consolidates; making dua before sleep adds a spiritual dimension to this natural process.
- On exam day, recite Ayatul Kursi and the Prophet Musa dua. Ayatul Kursi carries comprehensive protection and clarity; Musa's dua is specifically for difficult tasks requiring clear communication.
For guidance on how to approach dua itself — including the conditions that make a dua more likely to be accepted — see our complete guide to how to make dua properly. You can verify the Quranic text of Rabbi zidni ilma at quran.com/20/114 and the full chain for the Ibn Majah knowledge dua at sunnah.com/ibnmajah/251. For Muslim students seeking a mindset framework for academic excellence, DeenBack and DemiManifest offer complementary perspectives on faith-rooted academic motivation.
Signs That Your Duas Are Working
Progress in academic dua is not always measured in grades. Look for:
- A growing calmness in your approach to studying, even when the material is hard
- A shift from panic-based motivation to purpose-based motivation
- Increased barakah in your time — feeling like two hours of focused study accomplishes what four hours of distracted study used to
- A deepening sense that your knowledge is becoming beneficial — that you understand things more deeply, retain them longer, apply them more clearly
These are signs that the dua is having its effect. The grade is often the last thing to change; the internal quality of your learning changes first.
For a broader collection of success duas — including career, spiritual growth, and life goals — see dua for success and achievement.
Do you feel your duas are unanswered?
Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.
Take the Dua Quiz
Frequently Asked Questions
What is the dua for good grades in Islam?
The foundational dua is "Rabbi zidni ilma" — My Lord, increase me in knowledge (Quran 20:114). For ongoing academic success, pair it with "Allahumma infa-ni bima allamtani, wa allimni ma yanfa-uni, wa zidni ilma" from Sunan Ibn Majah 251, which asks Allah to benefit you with what you have learned.
Can I make dua for my child to get good grades?
Yes — parental dua for a child's success is among the most powerful supplications in Islam. The Prophet ﷺ said the dua of a parent for their child is never rejected. Recite Rabbi zidni ilma on behalf of your child and ask Allah to make their learning beneficial, their efforts successful, and their character righteous.
Is there a dua to help with memory and retention?
The dua from Sunan Ibn Majah 251 specifically asks Allah to benefit you with what He has taught you — directly addressing retention. Recite it after every study session. Scholars also recommend reciting "Rabbi-shrah li sadri wa yassir li amri" (Quran 20:25-26) before complex material for clarity of mind.
When is the best time to make dua for academic success?
The three strongest windows are: in sujood during prayer, after completing the obligatory salah, and during the last third of the night. For students, reciting Rabbi zidni ilma immediately before opening a textbook and after Fajr creates a consistent, blessed study routine with minimum effort.
Does Allah care about academic success?
Yes. Quran 58:11 states: 'Allah will raise those who have believed among you and those who were given knowledge, by degrees.' The Prophet ﷺ also declared seeking knowledge an obligation (Ibn Majah 224). Grades are a worldly measure of effort; what Allah rewards is sincere pursuit of beneficial knowledge with correct intention.
Should I rely only on dua for good grades without studying?
No. Islam teaches that dua and effort must go together — this is called taking the means (asbab) while trusting in Allah (tawakkul). The Prophet ﷺ told a man who left his camel untethered while saying he trusted in Allah: "Tie your camel and then trust in Allah." Dua without study is incomplete; study without dua is spiritually empty.
What did the Prophet ﷺ teach about studying and seeking knowledge?
The Prophet ﷺ said: "Seeking knowledge is an obligation upon every Muslim" (Ibn Majah 224), and: "If anyone travels a path in search of knowledge, Allah will cause him to travel one of the paths of Paradise" (Sahih Muslim 2699). Academic effort made with sincere intention earns spiritual reward, not just worldly grades.