- Published on
Dua for Knowledge: The Quranic Supplication Every Seeker Needs
- Authors

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

There is a particular frustration that comes with wanting to grow — reading books, attending lectures, taking courses — and still feeling like the knowledge is not sticking, or worse, that it is not changing you. You have the information. But wisdom feels like a different country.
Islam has something important to say about this. The problem is often not how much you are studying but what you are asking for. The dua for knowledge is not just a pre-exam supplication or a student's ritual. It is a daily recognition that all genuine understanding — the kind that transforms, not just informs — comes from Allah. And He can give more of it to you, if you ask.
The Dua for Knowledge
The cornerstone dua for knowledge is the only verse in the Quran where Allah directly commands the Prophet (peace be upon him) to ask for more of something.
رَبِّ زِدْنِي عِلْمًا
Rabbi zidni 'ilma.
"My Lord, increase me in knowledge." — (Surah Ta-Ha, 20:114)
When to say it: In the morning, before any learning session, during moments of confusion, or as part of your regular dhikr. This is the shortest and most versatile dua for knowledge in the Islamic tradition.
Before studying, add the fuller Sunnah dua that asks for beneficial knowledge specifically:
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي وَعَلِّمْنِي مَا يَنْفَعُنِي وَزِدْنِي عِلْمًا
Allahumma infa'ni bima 'allamtani wa 'allimni ma yanfa'uni wa zidni 'ilma.
"O Allah, benefit me with what You have taught me, teach me what will benefit me, and increase me in knowledge." — (Sunan al-Tirmidhi 3599)
To protect from knowledge that does not benefit, the Prophet (peace be upon him) regularly sought refuge with:
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ عِلْمٍ لَا يَنْفَعُ
Allahumma inni a'udhu bika min 'ilmin la yanfa'.
"O Allah, I seek refuge in You from knowledge that does not benefit." — (Sahih Muslim 2722)
Together, these three duas cover the full arc: asking for more knowledge, asking for it to be beneficial, and seeking protection from knowledge that leads nowhere good.
The Story Behind This Dua
Surah Ta-Ha was revealed at a critical juncture. The Quraysh had sent delegations to the Jewish scholars in Madinah asking for questions that would test the Prophet (peace be upon him). One of those questions was about the ruh (the soul). Allah's response was that the knowledge of the soul belongs to Allah, and that "of knowledge you have been given only a little" (Quran 17:85).
Immediately after that context — a reminder of human knowledge's limits — comes verse 114 of Surah Ta-Ha: "Say, my Lord, increase me in knowledge." The message is layered: yes, human knowledge is limited. And precisely because it is limited, you should keep asking Allah to expand it. Humility before knowledge is not an excuse to stop seeking it. It is the reason to seek it more urgently.
The scholars of Islam took this seriously. Al-Shafi'i, Imam Ahmad, Imam Malik — they were known to say that the more they learned, the more they realized how little they knew. That is not false modesty. It is the natural consequence of genuinely growing in 'ilm: the horizon keeps moving outward. The dua for knowledge is for the person who understands that the pursuit never really ends — and is grateful for that fact.
How to Make the Dua for Knowledge Part of Your Daily Life
The difference between a person who knows this dua and a person whose life is shaped by it comes down to one thing: how consistently they return to it. Here is how to build that consistency.
Make it the first thing you say when you pick up something to learn
Whether it is a book, a lecture, a Quran lesson, or a podcast — the moment you begin to receive knowledge, start with Rabbi zidni 'ilma. It takes three seconds. It changes the frame entirely. You are no longer just a consumer of information; you are a student asking their Teacher for help. Over time, this micro-habit reshapes your relationship with every form of learning.
Use it as your morning intention
Before the day's content begins — before the first scroll, the first email, the first meeting — recite the dua for knowledge as part of your morning routine. You are declaring your niyyah (intention) before the day's learning begins. This is also how you build the habit of seeking knowledge purposefully rather than consuming information passively.
Build the two-dua system
Use the short Quranic dua (Rabbi zidni 'ilma) during your day — when you encounter a concept you do not understand, when you want to remember something important, when a conversation reveals a gap in your understanding. Reserve the longer Tirmidhi dua for the beginning of formal study sessions. The two-dua system means you are consistently asking for knowledge in different modes throughout the day.
Add the protective dua as a weekly practice
The dua seeking refuge from knowledge that does not benefit (Sahih Muslim 2722) is a useful weekly audit. Ask yourself: is the knowledge I am pursuing this week drawing me closer to Allah and making me a better person? Or is it feeding my ego, my curiosity, or my anxiety without producing any real benefit? This is not about being restrictive — it is about being intentional.
Track your habit, not your insights
You cannot track wisdom directly. But you can track the habit of asking for it. A 30-day streak of saying Rabbi zidni 'ilma every morning is something you can measure. And the compounding effect of consistently orienting your mind toward beneficial knowledge — day after day — will eventually show up in ways you did not expect.
Seek Knowledge With Intention Every Day
DeenBack helps you build the habit of the dua for knowledge — track your daily supplications, maintain streaks, and make every learning session an act of worship.
Free download. Premium features available in-app.
Related Duas
The dua for knowledge connects naturally to several other supplications depending on where you are in your learning journey.
When you are actually sitting down to study — the dua for studying gives you a complete framework for opening and closing every study session with intention and supplication, including the post-study dua for preserving what you have learned.
Before an exam or high-stakes test — the dua of Musa (peace be upon him) from Surah Ta-Ha 20:25-28 asks for an open chest, ease of task, and clarity of speech. It is the most complete pre-exam supplication in the Quran and builds directly on the daily dua for knowledge practice.
When asking for rizq and provision — knowledge and provision are connected in the Islamic tradition. Seeking beneficial knowledge is itself a form of seeking the rizq of understanding. These duas complement each other naturally.
For overall success in your goals — asking for tawfiq — divine alignment of your efforts with good outcomes — is the umbrella supplication that covers knowledge, work, and life direction together.
Common Questions
Is there a difference between knowledge and wisdom in Islam?
Yes. 'Ilm (knowledge) is information and understanding. Hikmah (wisdom) is knowing how to apply knowledge rightly, in the right context, at the right time. The Quran mentions that Allah gives hikmah to whom He wills, and "whoever has been given wisdom has certainly been given much good" (Quran 2:269). You can ask for both — many scholars recommend adding "wa zidni hikmatan" (and increase me in wisdom) alongside the standard dua for knowledge.
Does this dua apply to worldly knowledge as well as religious knowledge?
Yes. Islam does not draw a hard line between sacred and secular knowledge. The Prophet (peace be upon him) sent companions to learn from non-Muslim experts and praised beneficial knowledge in all fields. Knowledge that benefits creation, improves society, relieves suffering, or leads to understanding of Allah's creation is entirely within the scope of this dua.
How do I know if my knowledge is benefiting me?
A practical test: is the knowledge changing how you act? Does knowing something make you more patient, more just, more merciful, more purposeful? Knowledge that produces no change is the kind the Prophet (peace be upon him) sought refuge from. Beneficial knowledge always has a behavioral signature.
Can children recite the dua for knowledge?
Yes, and teaching it early is one of the best things you can do for a child's relationship with learning. When a child grows up saying Rabbi zidni 'ilma before they study, they learn something profound: that knowledge comes from Allah, not just from schools or teachers. This shapes how they approach learning for the rest of their life.
I feel like I am not smart enough to retain things. Does this dua help?
Memory and comprehension are affected by many factors — sleep, nutrition, emotional state, method of study, and yes, divine blessing. The dua for knowledge is a sincere request for that divine dimension to be present in your learning. But the scholars also emphasize that ikhlas (sincerity) and acting on what you already know are among the greatest factors in Allah increasing a person's knowledge. Start with what you have. Ask Allah for more. And act on what you receive.
Closing
The Quran commands the Prophet (peace be upon him) to keep asking for more knowledge. If the final messenger — the most knowledgeable of all human beings — was told to keep seeking, what does that say about the rest of us?
The dua for knowledge is an act of tawadu' (humility) and an act of ambition at the same time. It says: I have not arrived. I want to grow. And I know that true growth only comes through You.
Say it today. Say it before every book, every class, every conversation that might teach you something. Let it become the soundtrack of a life that is always, in every season, still learning.
Build the Habit of Seeking Knowledge Daily
DeenBack tracks your dua and dhikr habits — making the pursuit of beneficial knowledge a consistent, tracked, daily practice connected to your deen.
Free download. Premium features available in-app.
Frequently Asked Questions
What is the dua for knowledge in Islam?
The primary dua for knowledge comes directly from the Quran: Rabbi zidni 'ilma — My Lord, increase me in knowledge (Surah Ta-Ha 20:114). Remarkably, this is the only place in the Quran where Allah commands the Prophet (peace be upon him) to ask for more of something. Pair it with the Sunnah dua from Tirmidhi 3599 for a complete pre-study supplication.
Is there a dua to help with memory and understanding?
Yes. The dua Allahumma infa'ni bima 'allamtani wa 'allimni ma yanfa'uni wa zidni 'ilma (Tirmidhi 3599) asks Allah to make what you have already learned beneficial, to teach you what will benefit you, and to increase you in knowledge. This covers memory, comprehension, and wisdom in a single supplication.
What makes knowledge beneficial in Islam?
Knowledge is beneficial when it leads to good action and draws you closer to Allah. The Prophet (peace be upon him) regularly sought refuge from knowledge that does not benefit (Sahih Muslim 2722) — meaning knowledge that does not increase taqwa, improve character, or lead to good deeds. Beneficial knowledge is knowledge lived, not just held.
When is the best time to recite the dua for knowledge?
The most recommended times include the last third of the night, during sujud (prostration), between the adhan and iqamah, and during morning adhkar. Including Rabbi zidni 'ilma in your morning routine means you begin every day actively asking Allah to increase you in knowledge and wisdom.
Can dua alone improve my ability to learn?
Dua opens the door, but you still have to walk through it. The Prophet (peace be upon him) said to tie your camel and then trust in Allah (Sunan al-Tirmidhi 2517). Dua aligns your effort with divine blessing — it does not replace the effort. The most effective combination is sincere niyyah, consistent study, and regular supplication.
