Duas for Exams and Studying: A Student's Supplication Guide
A practical collection of duas for studying, before exams, for memory and understanding — with Arabic text, transliteration, and tips for Muslim students.
Nafs Team
· 6 min read
Islam and the Pursuit of Knowledge
“Read, in the name of your Lord who created.” (96:1)
The very first word of revelation to the Prophet Muhammad (peace be upon him) was Iqra — Read. Learn. Seek knowledge. From this first command flows an entire civilization built on scholarship, inquiry, and the belief that acquiring knowledge is an act of worship.
The Prophet (peace be upon him) said: “Seeking knowledge is an obligation upon every Muslim.” (Ibn Majah)
If seeking knowledge is an obligation, then preparing for exams — studying diligently, showing up, doing your best — is itself an act of worship. And like all acts of worship, it is made complete with dua. Here are the essential supplications for every student.
Before You Begin Studying
The Dua for Beneficial Knowledge
Allahumma inni as’aluka ilman nafi’an, wa rizqan tayyiban, wa amalan mutaqabbalan.
Translation: “O Allah, I ask You for beneficial knowledge, pure provision, and accepted deeds.”
This is a morning dua from the Sunnah, but it’s perfect before any study session. Notice what it’s asking for — not just knowledge, but beneficial knowledge. Knowledge that increases your taqwa, your usefulness to others, and your closeness to Allah.
The Dua for Understanding (from Surah Ta-Ha)
Rabbi zidni ilma.
Translation: “My Lord, increase me in knowledge.” (20:114)
Short, powerful, and straight from the Quran. This was a command to the Prophet (peace be upon him) himself — a reminder that even the most knowledgeable of humans was instructed to keep asking Allah for more. Repeat it before opening your book.
The Dua at the Start of Any Task
Bismillah al-Rahman al-Rahim.
“In the name of Allah, the Most Merciful, the Especially Merciful.”
The Prophet (peace be upon him) said: “Any important matter that is not begun with Bismillah is cut off from blessing.” Begin every study session, every paper, every exam with Bismillah. It’s an act of acknowledging that what you’re about to do is in His name and for His sake.
For Memory and Retention
The Classic Dua for Memory
This is widely circulated among students and scholars and traces to multiple traditions:
Allahumma inni as’aluka bi-annaka Malik, wa bi-anna laka al-hamd, la ilaha illa anta, al-mannan, badi’ as-samawati wal-ard, dhal-jalali wal-ikram. Ya Hayyu, Ya Qayyum, ya Hayyu, ya Qayyum, as’aluka an tuhyi qalbi bi-nurik.
Translation: “O Allah, I ask You — for You are the Owner, and all praise belongs to You, there is no god but You, the Bestower, Originator of the heavens and earth, Owner of majesty and honor — O Ever-Living, O Self-Sustaining, O Ever-Living, O Self-Sustaining, I ask You to enliven my heart with Your light.”
Many students and teachers of sacred knowledge have recommended reciting this regularly for the opening and illumination of the heart.
Surah Al-Alaq (96) and the Connection to Learning
Reciting the first five verses of Surah Al-Alaq before studying connects your act of learning to the first revelation and to Allah as the One who taught with the pen and taught humanity what it did not know.
Surah Al-Qadr Before Sleep
There is a practice among students of sacred knowledge of reciting Surah Al-Qadr (97) before sleeping during periods of intensive study. The baraka of laylat ul-qadr is enormous, and connecting to it through recitation before sleep is said to ease the retention of what was learned that day.
Before an Exam
The Dua for Ease and Clarity
Rabbi yassir wa la tu’assir, wa tamim bil-khayr.
Translation: “My Lord, make it easy and do not make it difficult. And complete it with goodness.”
This is a brief but powerful dua. Ask for ease before you enter the exam room. Ask specifically. Be concrete. Allah can make a confused mind clear in an instant.
The Dua of Musa for Eloquence
When Musa (peace be upon him) was sent to Pharaoh — one of the most intimidating tasks anyone could face — he made this dua:
Rabbi ishrah li sadri, wa yassir li amri, wahlul uqdatan min lisani yafqahu qawli.
Translation: “My Lord, expand my breast, ease my matter, and untie the knot from my tongue so they may understand my speech.” (20:25-28)
Allah mentions this dua in the Quran because He answered it. For students going into oral exams, presentations, or written work that requires clarity and expression, this dua is profoundly applicable.
The Dua for Firm Footing
Rabbana afrigh alayna sabran wa thabbit aqdamana wansurna ala al-qawm il-kafirin.
Translation: “Our Lord, pour upon us patience, and plant firmly our feet, and give us victory over the disbelieving people.” (2:250)
This was the dua of those who entered battle against a much stronger enemy. The exam room is no Goliath, but the principle applies: asking Allah for firm footing — mental clarity, emotional stability, unshaken focus — is exactly what a student needs.
For Difficult Material and Confusion
Allahumma la sahla illa ma ja’altahu sahlan, wa anta taj’al ul-hazna idha shi’ta sahlan.
Translation: “O Allah, nothing is easy except what You make easy, and You make grief easy if You wish.”
When the material feels impossible, when you’ve read the same paragraph five times and still don’t understand — this dua is a reminder that comprehension is ultimately in Allah’s hands. Ask Him to open it up for you. Then read again.
After the Exam
Don’t forget to end as you began — with gratitude.
Alhamdulillahi Rabb il-Alamin.
“All praise and thanks are due to Allah, Lord of all the worlds.”
Whether you feel you did well or poorly, returning to gratitude is the believer’s posture. Gratitude for the opportunity to learn. Gratitude for the mind Allah gave you. Gratitude that results are in His hands, not yours alone.
Practical Tips for the Student Making Dua
1. Do the work. Dua is not a substitute for preparation. The Prophet (peace be upon him) taught us to “tie our camel, then put our trust in Allah.” Study seriously, and then trust Allah with the results.
2. Start early. Don’t save dua only for the night before the exam. Begin making dua weeks in advance, during your regular salah and dhikr. Consistent dua builds a relationship.
3. Minimize screen time during study periods. This is practical, not just spiritual — the research is clear that phones fragment focus. Use tools like Nafs to set focused study blocks where distractions are quietly put aside. Guarding your attention is part of taking your studies seriously.
4. Make tahajjud before major exams. The last third of the night is when dua is answered most readily. Even two rakats and a heartfelt dua before an important exam can shift your state remarkably.
5. Pray istikharah for major decisions related to your education — choosing a major, a university, a field of specialization. Education shapes your life’s direction, and involving Allah in those decisions is a powerful form of tawakkul.
A Closing Word
Knowledge is light. The Prophet (peace be upon him) said that the scholars are the inheritors of the prophets. Whether you’re studying Islamic sciences, medicine, engineering, literature, or anything else — the pursuit of knowledge done with the right intention is an act of worship.
Go to your exams with your preparation, your dua, and your trust in Allah. Whatever the result, you did not go alone.
May Allah open our hearts to understanding, make our knowledge beneficial, and grant us success in this life and the next.
Keep Reading
Start with the complete guide: Dua Guide: Connecting with Allah Through Supplication
- 30 Daily Duas Every Muslim Should Know
- Duas Before Sleep: The Complete Bedtime Supplication Guide
- Dua Etiquette: 10 Rules for Making Your Supplications Accepted
Ready to trade screen time for ibadah? Download Nafs free — 1 minute of worship = 1 minute of screen time.
Want to replace scrolling with ibadah?
1 minute of worship = 1 minute of screen time. Fair exchange.
Download Nafs