Dua Before Exams
3 Ways to Seek Allah’s Help

Exams can bring worry and pressure, as months of study come down to a few crucial hours. The dua before exams draws on a supplication the Prophet Muhammad (pbuh) taught, asking Allah to benefit one by what He has taught, to teach what benefits, and to increase one in knowledge. It turns the heart to Allah before a test, asking Him to bring forth the knowledge studied, to grant clarity and recall, and to bless the effort with a good result.
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي وَعَلِّمْنِي مَا يَنْفَعُنِي وَزِدْنِي عِلْمًا
Allāhumman-fa‘nī bimā ‘allamtanī wa ‘allimnī mā yanfa‘unī wa zidnī ‘ilmā.
“O Allah, benefit me by what You have taught me, teach me what benefits me, and increase me in knowledge.”
This guide explains the dua before exams, the meaning of asking Allah to benefit and increase one’s knowledge, and three ways to seek His help, so that the believer may approach an exam with preparation and trust, having studied with effort while asking Allah to grant clarity, recall and success.
The Meaning of the Dua Before Exams
The dua before exams is a supplication the Prophet (pbuh) taught, asking Allah for three things: to benefit one by the knowledge already learned, to teach what is truly beneficial, and to increase one in knowledge. The first request is especially fitting before an exam, for the student asks Allah to make the knowledge they have studied benefit them, bringing it forth with clarity when they need it. It is a prayer that the effort of study bears fruit by the help of Allah.

This dua reminds the student that knowledge and its recall are gifts from Allah. A person may study diligently, yet still need the help of Allah to recall what they know under the pressure of an exam. The Prophet (pbuh) himself would seek refuge in Allah from knowledge that does not benefit, showing that beneficial knowledge is sought from Allah. By making this dua before an exam, the student combines their preparation with reliance on Allah, asking Him to grant clarity and a good result.
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي وَعَلِّمْنِي مَا يَنْفَعُنِي وَزِدْنِي عِلْمًا
Allahumman-fa‘ni bima ‘allamtani wa ‘allimni ma yanfa‘uni wa zidni ‘ilma
Benefit me by what You have taught me and increase my knowledge
Three Ways to Seek Allah’s Help
The student seeks the help of Allah before an exam through preparation and prayer. These three ways, joined with the dua, seek His help before a test.
- Prepare with effort, studying diligently as your part before trusting Allah for the result.
- Make the dua before exams, asking Allah to bring forth your knowledge with clarity.
- Trust Allah and stay calm, placing the result in His hands after doing your best.
Approaching Exams with Preparation and Trust
An exam is best met with both preparation and trust in Allah. The dua before exams turns the heart to Allah, asking Him to benefit the student by what they have studied and to grant clarity and recall when it matters most. Having prepared with diligent effort, the student places the result in the hands of Allah, approaching the exam with a calm heart, certain that they have done their part and that the outcome rests with the One who grants all knowledge and success. There is real peace to be found in this balance.

This supplication pairs naturally with the dua for knowledge that seeks increase in learning, and the dua before studying. Together they help the student combine effort with trust, seeking Allah’s help in their learning and their exams.
Knowledge and its recall are gifts from Allah, so the student prepares and then trusts in Him. Learn the success duas with us on YouTube, where the supplications are recited aloud, on Facebook for a reminder to seek Allah’s help before a test, and on X where readers share how they combine study with trust in Allah.
Frequently Asked Questions
The dua before exams is Allahumman-fa‘ni bima ‘allamtani wa ‘allimni ma yanfa‘uni wa zidni ‘ilma, asking Allah to benefit you by what He has taught, teach what benefits, and increase your knowledge. The Prophet (pbuh) taught it.
Say it before an exam, and regularly as a student, asking Allah to bring forth your knowledge with clarity. It combines your preparation with reliance on Allah.
No, the believer studies diligently as their part, then makes the dua and trusts Allah for the result, for Islam joins effort with reliance. Preparation and prayer work together.
It asks Allah to benefit you by the knowledge you have studied, bringing it forth with clarity and recall when you need it. Knowledge and its recall are gifts from Allah.
Make the dua before exams, trust Allah with the result, and stay calm, knowing you have done your part. The outcome rests with the One who grants all knowledge and success.
The dua for knowledge seeks increase in beneficial learning, and the dua before studying seeks ease in understanding. Together with the dua before exams, they help students combine effort with trust in Allah.
