Dua for Memory Retention

3 Things to Know About Retaining Knowledge

A Muslim man at a desk where notes are being memorised aloud, an opening scene for the Dua for Memory Retention.

Retaining what one learns is a blessing from Allah, and the student turns to Him, the One who grants knowledge and preserves it, asking Him to make their learning firm and beneficial. The Prophet Muhammad (pbuh) taught a beautiful supplication asking Allah to benefit them by what they have learned, to teach them what benefits, and to increase them in knowledge. The dua for memory retention draws on this prayer, asking Allah to make the believer benefit from and hold onto the knowledge they gain.

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

Allahumma-nfa‘ni bima ‘allamtani, wa ‘allimni ma yanfa‘uni, wa zidni ‘ilma.

“O Allah, benefit me by what You have taught me, and teach me what benefits me, and increase me in knowledge.”

The Prophet | Tirmidhi

Memory and retention are gifts that the believer seeks from Allah while also striving through revision, attention and acting upon what they learn. This guide explains the dua for memory retention and three things to know about retaining knowledge, so that the student may ask Allah to make their learning firm and beneficial, combine the prayer with diligent effort, and remember that the knowledge that truly remains is the knowledge that is acted upon and sought for the sake of Allah.

The Prayer to Benefit from Knowledge

The Prophet (pbuh) would supplicate with the beautiful words quoted above, asking Allah to benefit him by what he had been taught, to teach him what benefits, and to increase him in knowledge. To benefit from knowledge is to retain it, understand it and act upon it, rather than forgetting it or letting it go to waste. By asking Allah to benefit them by what they have learned, the student asks Him to make their knowledge firm, useful and lasting.

A still-life of a stack of memorised notes with one card turned face up, illustrating the Dua for Memory Retention.

This supplication ties retention to benefit, for the knowledge worth keeping is the knowledge that benefits the believer and is acted upon. The believer asks Allah not only to help them remember, but to make their knowledge a means of good. The dua for memory retention reflects this, as the student turns to Allah to make their learning firm in the heart and beneficial in their life, asking Him to teach them what helps and to increase them further.

اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي

Allahumman-fa‘ni bima ‘allamtani

Benefit me by what You have taught me

The Prophet | Tirmidhi

Three Things to Know About Retaining Knowledge

Retaining knowledge is a blessing sought from Allah. These three things help the believer hold onto what they learn.

  1. Ask Allah to benefit you by what you have learned and to make your knowledge firm.
  2. Combine the prayer with diligent effort, through revision, attention and review.
  3. Act upon what you learn, for the knowledge that is acted upon is the knowledge that remains.

Holding Onto What You Learn

The dua for memory retention draws on the prayer to benefit from knowledge, asking Allah to make learning firm and useful. By asking Allah to benefit you by what you have learned, combining the prayer with diligent effort, and acting upon what you learn, the believer retains knowledge in the best way. Retention is a blessing from Allah, and the student who asks Him to make their learning firm and beneficial, while striving through revision and action, holds onto the knowledge that truly matters.

Close view of a Muslim man's hands and the stack of memorised notes during the Dua for Memory Retention.

This supplication pairs naturally with the dua for students and the dua for concentration. Together they help the believer seek and retain beneficial knowledge with the help of Allah.

The Prophet (pbuh) asked Allah to benefit him by what he had learned and to increase him in knowledge. Learn the duas for life with us on YouTube, where the supplications are recited aloud, on Threads for a reminder to retain knowledge, and on LinkedIn where readers share how they hold onto what they learn.

Frequently Asked Questions

What is the dua for memory retention?

The dua for memory retention is the prayer the Prophet (pbuh) taught: Allahumma-nfani bima allamtani, wa allimni ma yanfauni, wa zidni ilma, O Allah benefit me by what You have taught me, teach me what benefits me, and increase me in knowledge.

How does this dua relate to memory?

To benefit from knowledge is to retain it, understand it and act upon it, rather than forgetting it. The believer asks Allah to make their knowledge firm, useful and lasting, which is the heart of retention.

Does dua replace studying?

No, the believer combines the prayer with diligent effort, through revision, attention and review. Asking Allah to make knowledge firm and striving to retain it go together, for effort is part of the means He has provided.

What knowledge truly remains?

The Prophet (pbuh) tied retention to benefit, for the knowledge that is acted upon is the knowledge that remains. Knowledge sought for the sake of Allah and put into practice stays firm and bears fruit in the believer life.

How can I improve my retention?

Combine the dua with consistent revision, focused attention, teaching others, and acting upon what you learn. Seeking the help of Allah while striving diligently is the way the believer holds onto beneficial knowledge.

When should I recite this dua?

The believer may recite it before and after study, and at any time they seek to benefit from and retain knowledge. Asking Allah to make ones learning firm and beneficial is a beautiful habit for every seeker of knowledge.

Share This Dua:
Scroll to Top