- Published on
Dua for Studying and Memorization in Islam
- Authors

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

Every student knows the feeling — the material is vast, the exam is close, and the mind keeps drifting. For Muslims, there is a Quranic response to that feeling: a short supplication that frames the entire act of learning as something connected to Allah.
Seeking knowledge in Islam is not merely practical. It is worship. The Prophet Muhammad (ﷺ) said: "Seeking knowledge is an obligation upon every Muslim." (Ibn Majah 224) And in the Quran, Allah instructed the Prophet (ﷺ) himself to ask for an increase in knowledge — making this dua one of the few requests Allah explicitly commanded His Messenger to make.
Whether you are sitting for school exams, building a Quran memorization schedule, or deepening your understanding of the deen, these duas are designed to carry you through.
The Core Dua for Studying: Straight from the Quran
The foundational dua for knowledge appears in Surah Ta-Ha (20:114). Allah says:
رَبِّ زِدْنِي عِلْمًا
Rabbi zidni 'ilma
"My Lord, increase me in knowledge."
— (Surah Ta-Ha, 20:114)
This is the shortest Quranic dua and among the most powerful. It acknowledges that all knowledge ultimately comes from Allah, that we are always in need of more, and that we look to Him — not only to our own effort — for the capacity to learn and retain.
Recite it before you open your book, before a Quran memorization session, or before any class or lecture. It takes three seconds. It reorients your intention and reminds you that studying is a form of seeking Allah's provision.
A Dua for Memorization and Beneficial Knowledge
For those memorizing Quran or studying knowledge they want to genuinely benefit from — not just information that passes through without taking root — scholars frequently recommend the supplication recorded in Ibn Majah 251:
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي وَعَلِّمْنِي مَا يَنْفَعُنِي وَزِدْنِي عِلْمًا
Allahumma infa'ni bima 'allamtani wa 'allimni ma yanfa'uni wa zidni 'ilman
"O Allah, benefit me with what You have taught me, teach me what will benefit me, and increase me in knowledge."
— (Ibn Majah 251)
Notice the three layers packed into one supplication: benefit from what you already know, learn what will truly help you, and keep growing. This is the complete picture of purposeful, God-conscious learning.
Recite this after completing a study session or after finishing a revision of memorized material. It is a way of handing the outcome back to Allah after you have done your part of the work.
Why Islamic Tradition Places Knowledge at the Center
The first word revealed to the Prophet (ﷺ) was iqra — "Read." The Quran repeatedly calls people to observe, reflect, and reason. Hadith scholars traveled months on foot to verify a single narration, understanding that knowledge of the deen required sustained sacrifice.
Ibn Abbas (رضي الله عنه), one of the most learned companions and a young cousin of the Prophet (ﷺ), once held the stirrup of Zayd ibn Thabit's horse simply to show reverence for a scholar he sought to learn from. When others asked why, he said: "We were commanded to treat our scholars this way."
That kind of reverence for learning is not about memorizing for its own sake. It is about understanding that when you sit down to study something beneficial, you are participating in a tradition the companions of the Prophet took seriously enough to sacrifice comfort, status, and time for.
Our guide to memorizing the Quran explores the practical side of building a consistent memorization schedule — from how to break surahs into manageable portions to how revision works in a daily routine. And for those just beginning, our Quran reading guide for beginners covers the first steps without overwhelm.
Building Study Duas Into Your Daily Routine
The most effective approach is to anchor these duas to existing habits you already have. Here is a simple structure that works:
Before your session:
- Say Bismillah (بِسْمِ اللَّهِ) as you sit down
- Recite Rabbi zidni 'ilma three times
- Set a clear intention: what are you learning, and who does it benefit?
During the session:
- If focus drops, pause briefly and recite the dua again — it doubles as a reset
- For Quran memorization, many scholars recommend praying two rakat nafl before a session and making dua in sujood for retention. Our piece on making dua in sujood covers exactly how to use prostration as a space for your most heartfelt requests.
After the session:
- Recite the longer dua from Ibn Majah 251 as a closing
- Thank Allah for whatever was retained, however small it feels
The Fajr window — the hour after dawn prayer — is especially valuable for learning. The Prophet (ﷺ) made dua for blessing in the early morning hours, and memory retention in the quiet after dawn prayer is often sharper than at any other time of day. The Deen Back guide to structuring a Fajr morning routine offers practical ideas for organizing those hours around prayer, dhikr, and study.
The Demi Manifest piece on building an Islamic morning routine is also worth reading — it shows how structuring the early hours with intention creates the mental clarity that makes study more effective.
Keep your daily learning grounded in worship
DeenUp delivers a daily Quranic verse with contextual insights and curated duas — so your study habit begins each day with spiritual intention, not just productivity.
Download DeenUp — Free on iOSFor those preparing for exams, our dua for exams and tests covers additional supplications specifically for that context. And for a broader collection of daily supplications, see our daily duas for Muslim life.
Related Duas for Learning and Reflection
Before reciting Quran:
أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
A'udhu billahi mina ash-shaytani ar-rajim
"I seek refuge in Allah from the accursed Shaytan."
— Recommended before Quran recitation (Surah An-Nahl, 16:98)
For deep understanding of the religion:
اللَّهُمَّ فَقِّهْنِي فِي الدِّينِ
Allahumma faqqihni fi ad-din
"O Allah, grant me deep understanding of the religion."
— The Prophet (ﷺ) made this dua specifically for Ibn Abbas. (Sahih al-Bukhari 143)
The first dua creates a spiritual boundary before engaging with sacred text. The second asks for comprehension — the kind that produces wisdom, not just information. Both complement the study duas as part of a complete pre-session routine.
Common Questions About Duas for Studying
Are these duas only for Islamic subjects, or can I use them for school and university?
Scholars have consistently taught that beneficial worldly knowledge — medicine, mathematics, law, engineering — is encouraged in Islam when pursued with sincere intention. These duas apply to any learning that serves a good purpose, not only religious study.
How many times should I recite the dua?
There is no fixed number for either of these supplications. Some Muslims recite three times as a general practice; others recite once with full presence. Sincerity matters more than quantity.
I struggle to retain what I study — is there a spiritual dimension to this?
Scholars have noted that sins can weaken memory and reduce the heart's receptivity to knowledge. Some recommend pairing the study duas with increased istighfar — seeking Allah's forgiveness. Our guide to repentance in Islam is a useful companion if this resonates with you.
Can women recite these duas during menstruation?
Yes — these are supplications, not ritual recitation. Women can make dua at any time. There is scholarly difference of opinion about reading Quran during menstruation specifically, so for that question it is best to consult a local scholar based on your madhab.
Knowledge as a Form of Worship
Every time you sit down to learn, you have the opportunity to do something the Prophet (ﷺ) himself was commanded to do: ask Allah to increase you.
That simple act — three Arabic words before you open your notes — changes the meaning of what you are doing. You are not grinding through material alone. You are asking the One who created the capacity for understanding to help you use it well.
Start with Rabbi zidni 'ilma. Make it the first thing you say before any study session. Add the longer dua from Ibn Majah as you close. Watch how that small ritual shifts your relationship with learning over weeks and months.
Start each day with a Quranic verse and dua
DeenUp makes it easy to keep your spiritual life active alongside your daily schedule — with daily verses, curated duas, and Islamic habit tracking in one place.
Download DeenUp — Free on iOSFrequently Asked Questions
What is the best dua for studying?
The most widely recited dua is Rabbi zidni ilma — My Lord, increase me in knowledge (Surah Ta-Ha, 20:114). It is short, Quranic, and can be recited before any study session.
Is there a specific dua for memorization?
The dua from Ibn Majah 251 asks Allah to benefit you with what He has taught you, teach you what benefits you, and increase you in knowledge — a complete supplication for anyone memorizing Quran or studying.
When is the best time to study in Islam?
The time after Fajr prayer is widely considered the most blessed for learning. The Prophet (peace be upon him) made dua specifically for blessings in the early morning hours, and many scholars recommend this window for Quran memorization.
Can I use these duas for school exams and university study?
Yes. Islamic scholars have long affirmed that beneficial worldly knowledge — medicine, mathematics, engineering — is encouraged in Islam when pursued with sincere intention. These duas apply to any beneficial learning.