Published on

Dua for Studying: Islamic Prayers for Focus

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education • DeenUp

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

In the name of God, the Most Gracious, the Most Merciful.

Open Quran and prayer beads on a desk representing Islamic dua for studying

Why Making Dua Before Studying Changes Everything

There is a fundamental difference between studying as a task you need to finish and studying as an act of worship. The Quran places knowledge at the very center of faith — "Allah will raise those who have believed among you and those who were given knowledge, by degrees" (Surah Al-Mujadilah, 58:11). When you open your books with a dua on your lips, you are not just hoping for a good result. You are inviting Allah into your effort and turning your revision session into something that earns spiritual reward.

The Islamic duas for studying are short, Quranic, and precise. They address exactly what every student needs: an expanded mind, ease in a difficult task, and retained knowledge. Here is what to recite and when.

What Is the Dua for Studying in Islam?

The primary dua for studying is Rabbi zidni ilma (رَبِّ زِدْنِي عِلْمًا) — "My Lord, increase me in knowledge" — from Surah Ta-Ha (20:114). It is the only Quranic verse in which Allah directly commands the Prophet ﷺ to ask for more of something, and that something is ilm (knowledge). After studying, scholars recommend sealing the session with the supplication from Ibn Majah 251: "O Allah, benefit me with what You have taught me, teach me what will benefit me, and increase me in knowledge." Together, these two duas form a complete framework that brackets every study session with sincere reliance on Allah.

The Core Dua: Rabbi Zidni Ilma

The most essential dua for studying comes from Surah Ta-Ha, Ayah 114, available in full at quran.com/20/114:

رَبِّ زِدْنِي عِلْمًا

Rabbi zidni ilma

"My Lord, increase me in knowledge."

(Surah Ta-Ha, 20:114)

This single line carries immense depth. Throughout the Quran, Allah instructs the Prophet ﷺ to say many things — but this is the only ayah in which he is told to actively ask for an increase in something. That something is knowledge. Islamic scholars across centuries have explained this as a sign that ilm has no ceiling for the believer — you should never feel you have learned enough, and there is always more to ask Allah for.

The After-Study Dua: Allahumma Infa'ni

After completing a study session, recite the supplication recorded in Sunan Ibn Majah 251:

اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي وَعَلِّمْنِي مَا يَنْفَعُنِي وَزِدْنِي عِلْمًا

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 Ibn Majah 251)

This dua acknowledges that not all knowledge is beneficial — the Prophet ﷺ regularly sought refuge from knowledge that brings no benefit (Sahih Muslim 2722). By reciting it after studying, you are asking Allah to filter what stays in your memory and guide your use of what you have learned.

Prophet Musa's Dua for Clarity and Ease

For moments before an exam or when the material feels overwhelming, turn to the supplication of Prophet Musa (peace be upon him):

رَبِّ اشْرَحْ لِي صَدْرِي وَيَسِّرْ لِي أَمْرِي وَاحْلُلْ عُقْدَةً مِّن لِّسَانِي يَفْقَهُوا قَوْلِي

Rabbi ishrah 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 that they may understand my speech."

(Surah Ta-Ha, 20:25-28)

Musa asked Allah for three things when standing before a daunting challenge: an open heart, ease in his task, and clear expression. These are precisely what students need before they enter an examination hall.

Why the Quran Ties Knowledge to Worship

Knowledge in Islam is not a secular pursuit. The Prophet ﷺ stated: "Seeking knowledge is an obligation upon every Muslim" (Ibn Majah 224). Islamic scholars extend this beyond religious texts to include any knowledge that serves the community — medicine, law, engineering, language. The act of studying itself becomes ibadah when the intention is right.

The Prophet ﷺ also said: "Whoever travels a path seeking knowledge, Allah makes easy for him a path to Paradise" (Sahih Muslim 2699). This reframes every difficult exam season as a journey toward spiritual reward. The student who struggles through calculus or memorizes anatomy or learns a new language for the sake of contributing to the ummah is on a path that Allah honors.

The story of Musa and al-Khidr in Surah Al-Kahf (18:60-82) adds another dimension: even a prophet positioned himself as a student and followed a teacher to learn what he did not know. There is no arrogance in seeking knowledge, and no point at which a Muslim can afford to stop asking Allah for more.

How to Build a Dua-for-Studying Habit

Habits form most reliably when they are attached to existing triggers — and in Islamic practice, this is simply tawakkul made concrete. You take the action of opening your books, and you precede it with bismillah and dua.

Here is a simple pre-study ritual that takes under two minutes:

  1. Make wudu if you can — it sharpens intention, even if not required for studying
  2. Say Bismillah — "In the name of Allah, the Most Gracious, the Most Merciful"
  3. Recite Rabbi Zidni Ilma three times — "My Lord, increase me in knowledge" (Surah Ta-Ha, 20:114)
  4. Set your niyyah — resolve that this session is for the sake of Allah and the service of others through your learning
  5. Begin studying

At the end, close with the after-study dua from Ibn Majah 251 and a few minutes of quiet reflection on what you covered.

For moments when focus breaks mid-session, reciting Hasbunallahu wa ni'mal wakeel (Surah Al-Imran, 3:173) — "Allah is sufficient for us, and He is the best disposer of affairs" — helps reset mental clarity without interrupting your flow.

DeenUp makes this routine easier by delivering curated dua reminders at the right moments throughout your day — including before study sessions.

Keep your daily duas organized

DeenUp delivers dua reminders throughout your day — morning adhkar, study supplications, and evening prayers — so your moments of learning are never without intention.

Download DeenUp on the App Store
DuaArabicWhen to ReciteSource
Rabbi Zidni Ilmaرَبِّ زِدْنِي عِلْمًاBefore every study sessionSurah Ta-Ha, 20:114
Allahumma Infa'niاللَّهُمَّ انْفَعْنِيAfter studyingIbn Majah 251
Rabbi Ishrah Li Sadriرَبِّ اشْرَحْ لِي صَدْرِيBefore exams or presentationsSurah Ta-Ha, 20:25-28
Allahumma La Sahlaاللَّهُمَّ لَا سَهْلَWhen a topic feels impossibleSahih Ibn Hibban 974

The last dua — "O Allah, nothing is easy except what You make easy, and You can make the difficult easy if You will" — is particularly powerful when a subject simply will not click, no matter how many times you review it.

For more on how Islamic intentions reshape the experience of learning, our guide to dua for studying and memorization pairs these supplications with practical memorization techniques. The DeenBack blog's article on daily adhkar after prayer shows how students can weave dhikr naturally into their post-prayer study blocks.

If you are working on Quran memorization alongside your studies, how to memorize Quran covers the Islamic methods used by huffaz for centuries. DemiManifest also explores the topic of consistent Quran reading habits, including how to maintain focus during long learning sessions.

For morning preparation before a study day, the post on morning adhkar in Islam outlines the full suite of morning supplications that set the tone for focused, intentional work. And when exam pressure builds, our guide to dua for exams and tests covers additional supplications for the exam hall itself.

Common Questions About Dua for Studying

Does dua replace hard work and revision?

No — in Islamic teaching, dua and effort (asbab) go together. The Prophet ﷺ taught: "Tie your camel, then put your trust in Allah" (Tirmidhi 2517). You make your best effort, then leave the result with Allah. Dua is not a shortcut around revision; it is the spiritual fuel that makes your effort meaningful and invites Allah's blessing into it.

How many times should I recite the studying dua?

There is no fixed number prescribed for Rabbi Zidni Ilma. Many students recite it three times at the start of each session, which aligns with the prophetic practice of repeating words three times for emphasis. Recite it sincerely even once — the point is the intention, not the count.

What if I forget to make dua before studying?

You can make the dua at any point in your session — it does not have to be at the very beginning. If you remember mid-way through your revision, pause, recite Rabbi Zidni Ilma with intention, and continue. Allah accepts dua at any moment, and turning to Him in the middle of a task is itself an act of remembrance.

Is there a dua for memory retention?

The general dua for knowledge (Rabbi Zidni Ilma) includes memory as part of ilm. Some scholars also recommend Surah Al-A'la (87) and Ayatul Kursi (Surah Al-Baqarah, 2:255) for mental clarity and retention. The consistent practice of fajr prayer also strengthens mental discipline in ways that directly support studying.

Closing: Let Every Study Session Begin With Allah

The student who begins with "Rabbi zidni ilma" is making a quiet but profound statement: that their mind belongs to Allah, their effort is for His sake, and their knowledge — whatever comes of it — will be used in a way that He approves of.

That is the Islamic approach to learning. Not anxiety over outcomes, but trust that sincere effort combined with sincere supplication will lead wherever Allah wills. Pick up the practice today, even with one dua before one session. The habit builds from there.

Never miss a study dua again

DeenUp sends you personalized reminders for the duas that matter most — study, morning, and evening — so you build consistency without thinking about it.

Download DeenUp on the App Store

Frequently Asked Questions

What is the best dua for studying in Islam?

The best dua for studying in Islam is Rabbi Zidni Ilma — My Lord, increase me in knowledge — from Surah Ta-Ha (20:114). It is the only Quranic verse commanding the Prophet to ask for more of something, and that something is knowledge, making it the ideal supplication to begin every study session.

What does Rabbi Zidni Ilma mean?

Rabbi Zidni Ilma is an Arabic phrase from Surah Ta-Ha (20:114) meaning My Lord, increase me in knowledge. The word rabbi means Lord, zidni comes from the root meaning to increase or add, and ilma means knowledge. It is a direct appeal to Allah to expand a student's understanding and memory.

When should I read the dua for studying?

Muslims are encouraged to read the dua for studying at the start of each study session, before opening a book or beginning revision. Reciting Rabbi Zidni Ilma first frames study as an act of worship and invites clarity into the learning process from the very first moment of concentration.

Is there a dua to help with focus and concentration while studying?

Prophet Musa's supplication from Surah Ta-Ha (20:25-28) — Rabbi ishrah li sadri wa yassir li amri (My Lord, expand my chest and ease my task) — is particularly recommended for mental clarity and focus. Students recite it when feeling blocked or overwhelmed during revision or before challenging exams.

Can I make dua in English while studying?

Yes, you can make personal dua in English or any language you understand best. The Quranic and prophetic duas are best preserved in Arabic — recite them as taught — but then speak to Allah in your own language about your specific needs, worries, and goals. Allah hears all sincere supplications.

What is the dua after finishing studying?

After studying, recite: Allahumma infa-ni bima allamtani wa allimni ma yanfa-uni wa zidni ilma — O Allah, benefit me with what You taught me, teach me what benefits me, and increase me in knowledge. This supplication, recorded in Ibn Majah 251, seals the session with gratitude and purposeful intention.

What did the Prophet Muhammad say about seeking knowledge?

The Prophet Muhammad said that seeking knowledge is an obligation upon every Muslim, man and woman (Ibn Majah 224). He also taught that whoever travels a path seeking knowledge, Allah makes easy a path to Paradise (Sahih Muslim 2699), showing that dedicated study carries genuine spiritual reward.