بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ

The Islamic Imperative of ‘Ilm & Hikmah

In Islam, knowledge (‘ilm) and wisdom (hikmah) are not merely intellectual virtues — they are acts of worship and a religious obligation. Allah ﷻ revealed the very first word of the Quran as Iqra — “Read!” — placing the pursuit of knowledge at the heart of the Muslim identity from the very beginning of revelation.

The Prophet Muhammad ﷺ said: “Seeking knowledge is an obligation upon every Muslim.” (Ibn Majah, 224). This encompasses both religious knowledge and the beneficial sciences that serve humanity. When paired with sincere dua — supplication to Allah for guidance and understanding — the seeker of knowledge elevates a worldly pursuit into a profoundly spiritual act.

Wisdom (hikmah) goes a step further. Surah Al-Baqarah (2:269) teaches that wisdom is a divine gift: “He grants wisdom to whom He wills, and whoever has been granted wisdom has certainly been given much good.” The duas below are your petition to Allah for both the knowledge of facts and the wisdom to use them righteously.

🤲
Act of ‘Ibadah
Making dua for knowledge transforms study into worship. Every sincere supplication is answered.
🧠
Barakah in Learning
Beginning study with dua invites Allah’s barakah into the learning process itself.
🛡️
Protection from Misguidance
Asking Allah for beneficial knowledge shields against falsehood, doubt, and harmful information.
🌱
Elevated Rank
Quran 58:11 promises: “Allah will raise those who believe and those who are given knowledge in degrees.”

7 Core Duas for Wisdom & Knowledge

Each supplication below is sourced from the Quran or authenticated Hadith collections. They cover the full spectrum of seeking ‘ilm: from asking for increase in knowledge, to clarity of understanding, to protection from harmful knowledge.

01
The Prophet’s Dua for Increase in Knowledge
📖 Quran — Surah Ta-Ha 20:114
رَبِّ زِدْنِي عِلْمًا
Rabbi zidnī ‘ilmā
My Lord, increase me in knowledge.
Quran 20:114 · Surah Ta-Ha
⏰ When to Recite
Recite before studying, entering a class, opening the Quran, or whenever you sit down to seek knowledge. This is the most concise and comprehensive dua for ‘ilm — its brevity makes it easy to recite many times daily.
02
Dua for Beneficial Knowledge
📚 Ibn Majah 251 · Tirmidhi 3599
اللَّهُمَّ إِنِّي أَسْأَلُكَ عِلْمًا نَافِعًا، وَرِزْقًا طَيِّبًا، وَعَمَلًا مُتَقَبَّلًا
Allāhumma innī as’aluka ‘ilman nāfi’an, wa rizqan ṭayyiban, wa ‘amalan mutaqabbalan
O Allah, I ask You for beneficial knowledge, good provision, and accepted deeds.
Ibn Majah 251 · Sahih
⏰ When to Recite
The Prophet ﷺ recited this dua every morning after Fajr prayer. It combines three essential requests: knowledge, halal sustenance, and righteous action — making it a comprehensive morning ‘ibadah.
03
Dua to Benefit from Knowledge Taught
📚 Ibn Majah 3833 · Tirmidhi 3599
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا
Allāhumma anfa’nī bimā ‘allamtanī, wa ‘allimnī mā yanfa’unī, wa zidnī ‘ilmā
O Allah, benefit me with what You have taught me, teach me what will benefit me, and increase me in knowledge.
Ibn Majah 3833 · Verified
⏰ When to Recite
Ideal before and after studying, exams, or any form of learning. Ask that what you’ve already learned becomes internalized and beneficial, not merely memorized facts.
04
Dua of Prophet Musa (AS) for Eloquence & Clarity
📖 Quran — Surah Ta-Ha 20:25–28
رَبِّ اشْرَحْ لِي صَدْرِي ❧ وَيَسِّرْ لِي أَمْرِي ❧ وَاحْلُلْ عُقْدَةً مِّن لِّسَانِي ❧ يَفْقَهُوا قَوْلِي
Rabbi-shraḥ lī ṣadrī · wa yassir lī amrī · waḥlul ‘uqdatan min lisānī · yafqahū qawlī
My Lord, expand for me my breast, ease my task for me, untie the knot from my tongue, that they may understand my speech.
Quran 20:25–28 · Surah Ta-Ha
⏰ When to Recite
Recite before giving a talk, presentation, lecture, or exam. Prophet Musa (AS) made this supplication when tasked with conveying Allah’s message — it is the dua of every teacher, student, and public speaker.
05
Dua for Protection from Harmful Knowledge
📚 Sahih Muslim 2722
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ عِلْمٍ لَا يَنْفَعُ، وَمِنْ قَلْبٍ لَا يَخْشَعُ، وَمِنْ نَفْسٍ لَا تَشْبَعُ، وَمِنْ دَعْوَةٍ لَا يُسْتَجَابُ لَهَا
Allāhumma innī a’ūdhu bika min ‘ilmin lā yanfa’, wa min qalbin lā yakhsha’, wa min nafsin lā tashba’, wa min da’watin lā yustajabu lahā
O Allah, I seek refuge in You from knowledge that does not benefit, from a heart that does not fear, from a soul that is not satisfied, and from a supplication that is not answered.
Sahih Muslim 2722
⏰ When to Recite
The Prophet ﷺ specifically sought refuge from knowledge that brings no benefit — a powerful reminder that not all information is useful. Recite this before engaging with new information or entering academic environments.
06
Dua of Ahl al-Kahf — For Guidance & Mercy
📖 Quran — Surah Al-Kahf 18:10
رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا
Rabbanā ātinā min ladunka raḥmatan wa hayyi’ lanā min amrinā rashadā
Our Lord, grant us from Yourself mercy and prepare for us from our affair right guidance.
Quran 18:10 · Surah Al-Kahf
⏰ When to Recite
This dua of the People of the Cave combines mercy and right guidance — a beautiful supplication for anyone seeking direction at a crossroads of knowledge or facing a major decision.
07
Dua for Showing Truth as Truth
📚 Attributed to various — widely transmitted
اللَّهُمَّ أَرِنَا الْحَقَّ حَقًّا وَارْزُقْنَا اتِّبَاعَهُ، وَأَرِنَا الْبَاطِلَ بَاطِلًا وَارْزُقْنَا اجْتِنَابَهُ
Allāhumma arinā al-ḥaqqa ḥaqqan warzuqnā ittibā’ah, wa arinā al-bāṭila bāṭilan warzuqnā ijtinābah
O Allah, show us the truth as truth and grant us the ability to follow it, and show us falsehood as falsehood and grant us the ability to avoid it.
Widely Transmitted Dua
⏰ When to Recite
Recite when studying subjects that involve distinguishing right from wrong, when researching a topic with conflicting claims, or during times of ideological confusion.

The Four Dimensions of Islamic Knowledge

Islamic scholarship recognises knowledge as a multi-layered pursuit. Understanding these dimensions helps you make targeted supplications and direct your learning purposefully.

Visual Guide Types of Knowledge in the Islamic Tradition
عِلْم ‘ILM الوحي Revelation السنة Sunnah العقل Reason الحكمة Wisdom Quran & Revelation — Wahy Prophetic Traditions — Hadith Rational Inquiry — ‘Aql Divine Gift — Hikmah
📖
Wahy (Revelation)
الوحي
Knowledge revealed directly by Allah through the Quran — the ultimate, infallible source of all Islamic learning.
📿
Sunnah (Tradition)
السنة
The sayings, actions, and approvals of the Prophet ﷺ — the practical manifestation of Quranic guidance.
🧠
‘Aql (Reason)
العقل
Rational inquiry within the bounds of Quran and Sunnah — ijtihad, fiqh, and independent Islamic scholarship.
Hikmah (Wisdom)
الحكمة
The divine gift of applying knowledge with justice and insight — a grant from Allah that transcends mere information.

What the Quran Says About Knowledge & Wisdom

The Quran contains over 700 verses referencing knowledge, reflection, and understanding. Below are five foundational verses that together articulate Islam’s vision of ‘ilm as both a path to Allah and a means of serving humanity.

1. The First Revelation — Quran 96:1–2

اقْرَأْ بِاسْمِ رَبِّكَ الَّذِي خَلَقَ ❧ خَلَقَ الْإِنسَانَ مِنْ عَلَقٍ

“Read in the name of your Lord who created — created man from a clinging substance.”

— Quran · Surah Al-‘Alaq 96:1–2

2. The Grant of the Pen — Quran 96:4–5

Allah ﷻ says: “Who taught by the pen — taught man that which he knew not.” (96:4–5). The pen (qalam) is one of the first things Allah created, and teaching humanity was among His first acts of mercy. This establishes knowledge as an act of divine generosity.

3. Wisdom as the Greatest Good — Quran 2:269

“He gives wisdom to whom He wills, and whoever has been given wisdom has certainly been given much good. And none will remember except those of understanding.” (2:269). Scholars explain that hikmah here means placing things in their right place — a quality that makes knowledge transformative.

4. Al-Khidr and the Limitlessness of Knowledge — Quran 18:65–66

When Prophet Musa (AS) sought out Al-Khidr, he asked: “May I follow you so that you teach me from what you have been taught of right conduct?” (18:66). This narrative teaches humility before knowledge: no matter how much one knows, there is always a teacher and always more to learn.

5. Those Who Know and Those Who Don’t — Quran 39:9

Allah poses the rhetorical question: “Are those who know equal to those who do not know?” (39:9). The answer is emphatic: they are not equal. This verse motivates the believer to pursue knowledge as a means of drawing closer to Allah ﷻ.

Best Times to Make Dua for Knowledge

The timing of supplication significantly influences its acceptance. The following moments are established by Hadith as periods when Allah’s mercy is especially close and dua is most likely to be answered.

Optimal Times When to Supplicate for ‘Ilm & Hikmah
FAJR DUHA AFTER SALAH LAST HOUR TAHAJJUD Pre-dawn Mid-morning After prayer Friday Night prayer
🌅 Fajr — Pre-Dawn
After the Fajr Prayer
The Prophet ﷺ specifically recited “Allāhumma innī as’aluka ‘ilman nāfi’an” every morning after Fajr. The pre-dawn hours carry special barakah for knowledge and remembrance.
🌤️ Before Studying
Opening a Book or Beginning a Session
Recite Bismillah followed by “Rabbi zidnī ‘ilmā” before opening any book or beginning any educational task. This consecrates the effort as an act of worship.
🕌 After Every Salah
Following the Tasleem
The period after completing the five daily prayers is an accepted time for dua. Incorporate duas for knowledge into your post-salah dhikr routine alongside the standard adhkar.
🕌 Jumu’ah Last Hour
The Blessed Friday Hour
The final hour before Maghrib on Friday is one of the special times of accepted dua mentioned in Sahih Bukhari and Muslim. Dedicate this hour to supplicating for ‘ilm and hikmah.
🌙 Tahajjud — Last Third of Night
The Descending of Divine Mercy
Allah ﷻ descends to the lowest heaven in the final third of the night and asks: “Who is asking of Me that I may give them?” This is the most powerful time for any sincere supplication, including prayers for wisdom.

Frequently Asked Questions

The most concise and powerful dua for knowledge is from Surah Ta-Ha (20:114): رَبِّ زِدْنِي عِلْمًا — “My Lord, increase me in knowledge.” Allah commanded the Prophet ﷺ to recite this supplication, making it the most authentically established dua for ‘ilm. Its brevity makes it easy to repeat throughout the day.
Before studying, recite: اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي — “O Allah, benefit me with what You have taught me, and teach me what will benefit me.” This hadith dua (Ibn Majah 3833) asks both for retention of what is learned and guidance toward knowledge that will be genuinely useful.
Yes. The Prophet Muhammad ﷺ said: “Seeking knowledge is an obligation upon every Muslim.” (Ibn Majah 224). Scholars categorise this as at minimum a fard kifayah (communal obligation) for advanced religious sciences, and a fard ‘ayn (individual obligation) for the basic knowledge needed to fulfil one’s acts of worship correctly. Supplicating for knowledge is itself an act of worship.
Surah Al-Baqarah 2:269 is the primary verse on hikmah: “He grants wisdom to whom He wills, and whoever has been granted wisdom has certainly been given much good.” Classical scholars like Ibn Kathir explain that wisdom means placing things in their proper positions — it is a divine grant that enables a person to act on their knowledge with precision, justice, and spiritually correct intention.
Prophet Musa (AS) supplicated: رَبِّ اشْرَحْ لِي صَدْرِي وَيَسِّرْ لِي أَمْرِي — “My Lord, expand my breast, ease my task, and untie the knot from my tongue so they may understand my speech.” (Quran 20:25–28). This dua has three dimensions: intellectual openness (sharh al-sadr), practical ease, and clarity of expression — making it ideal for anyone engaged in teaching or conveying knowledge.
Absolutely, and it is highly encouraged. The Prophet ﷺ regularly supplicated for his companions and family. You can adapt the same duas by using plural forms or by saying “O Allah, grant beneficial knowledge to [name].” Importantly, a hadith in Sahih Muslim (2732) indicates that when you make dua for your brother in their absence, an angel says “Ameen, and the same for you” — so supplicating for others’ knowledge benefits you as well.

📚 Trusted External Resources