Dua of Prophet Muhammad
5 Lessons in Comprehensive Prayer

Of all the supplications the Prophet Muhammad (pbuh) made, one stands out as the prayer he repeated most often, a short but all-encompassing dua preserved in the Quran. The dua of Prophet Muhammad (pbuh) asks Allah for good in this world, good in the Hereafter, and protection from the Fire. His companion Anas reported that this was the supplication the Prophet (pbuh) made most frequently, showing that in its few words lies a request for every good a believer could ever need.
رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الْآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ
Rabbanā ātinā fid-dunyā hasanatan wa fil-ākhirati hasanatan wa qinā ‘adhāban-nār.
“Our Lord, give us good in this world and good in the Hereafter, and protect us from the punishment of the Fire.”
This dua is a masterpiece of comprehensive prayer. Rather than asking for any single thing, it asks for all good in both worlds at once: every blessing of this life, every blessing of the next, and safety from the greatest loss. It teaches the believer to seek a balanced, complete success, never sacrificing the Hereafter for this world, nor neglecting this world entirely, but asking the One who owns both for the good of each.
This guide explores the dua of Prophet Muhammad (pbuh), why he loved it so, the meaning of asking for good in both worlds, five lessons in comprehensive prayer, and when to recite it, so that the believer may follow the example of the Prophet (pbuh) in turning to Allah with a prayer that gathers all good into a single, beautiful request.
The Dua of Prophet Muhammad (pbuh)
The dua of Prophet Muhammad (pbuh) that he made most often is the prayer asking Allah for good in this world, good in the Hereafter, and protection from the Fire. His companion Anas ibn Malik reported that the supplication the Prophet (pbuh) said most frequently was these very words, and when Anas wished to make a dua, he would use this one. That the Prophet (pbuh), the most knowledgeable of people about Allah, chose this above all others speaks volumes about its value.

The Prophet (pbuh) also taught its use directly. On one occasion he visited a sick man who had become as frail as a chick from his illness. The man said he used to ask Allah to hasten any punishment he deserved in this life rather than the next. The Prophet (pbuh) told him that he could never bear that, and taught him instead to say this dua, asking for good in both worlds and protection from the Fire. The man recovered, and Allah healed him.
This shows that the dua of Prophet Muhammad (pbuh) is not only the most comprehensive of prayers, but a means of mercy and healing. The Prophet (pbuh) steered the believer away from prayers of despair or harshness toward themselves, and toward a balanced prayer of hope, asking the Generous Lord for the good of both worlds. It became a defining supplication of his life, repeated again and again upon his blessed tongue. The companions who lived beside him heard it so often that it became woven into their own prayers, passed down through the generations until it reached us today. To make this dua is to join a chain of believers stretching back to the Prophet (pbuh) himself, all asking the same Generous Lord for the same complete good, in the very words He chose for them.
رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الْآخِرَةِ حَسَنَةً
Rabbana atina fid-dunya hasanatan wa fil-akhirati hasanah
And give us good in this world and good in the Hereafter
The Meaning of Good in Both Worlds
The dua of Prophet Muhammad (pbuh) uses the word hasanah, meaning good, for both this world and the Hereafter. The scholars explain that hasanah in this world includes every good a believer could seek: health, lawful provision, a righteous spouse and children, beneficial knowledge, good character, faith, and peace of heart. By asking for good in this world without naming a single item, the believer asks for all of it at once, leaving it to the wisdom of Allah to grant what is best.

The good of the Hereafter is even greater: forgiveness, the pleasure of Allah, ease on the Day of Judgement, and the gardens of Paradise. By asking for good in the Hereafter, the believer seeks the success that never ends. And by adding the request for protection from the Fire, the dua seeks safety from the greatest loss of all. Together, these three requests cover everything a person could need in both lives, gathered into one short prayer.
This balance is the heart of the dua. Islam does not teach abandoning this world for the next, nor chasing this world at the expense of the next, but seeking the good of both from the One who owns both. The dua of Prophet Muhammad (pbuh) models this perfectly, teaching the believer to live for the Hereafter while seeking good in this life, and to ask Allah for a complete, balanced success in everything. This is why the scholars considered this dua a summary of all good, for the one who is granted good in this world and the next, and saved from the Fire, has been given everything worth having. There remains nothing a believer could ask for beyond what these few words already contain, which is why they fell so often from the lips of the Prophet (pbuh).
وَقِنَا عَذَابَ النَّارِ
Wa qina ‘adhaban-nar
And protect us from the punishment of the Fire
Five Lessons in Comprehensive Prayer
The dua of Prophet Muhammad (pbuh) teaches the believer how to pray for all good at once. These five lessons draw out the wisdom of this comprehensive prayer.
- Seek good in both worlds, never sacrificing the Hereafter for this life or this life for the Hereafter.
- Ask for all good at once, leaving it to the wisdom of Allah to grant what is best for you.
- Combine brevity with depth, for a few sincere words can gather every need a believer has.
- Seek protection from the Fire, the greatest safety a person could ever ask for.
- Follow the example of the Prophet (pbuh), making the prayer he loved most a part of your own.
When to Recite This Dua
The dua of Prophet Muhammad (pbuh) can be recited at any time and in any place, for it suits every occasion and every need. The Prophet (pbuh) made it constantly, so the believer too may repeat it throughout the day, in prayer, in moments of need, and as part of daily remembrance. Because it asks for all good, it is never out of place, whether one is seeking something specific or simply turning to Allah in hope.
This dua holds a special place during certain acts of worship. It is among the most beloved supplications to recite during tawaf around the Kaaba, especially between the Yemeni Corner and the Black Stone, following the practice of the Prophet (pbuh). It is also beautiful to seal a gathering with it, to recite it in sujud, and to make it part of one’s supplications after prayer, asking Allah for the good of both worlds.
There is no fixed number or condition attached to this dua; the believer simply makes it sincerely, with presence of heart and full hope in the generosity of Allah. By keeping it on the tongue, the believer follows the example of the Prophet (pbuh) and continually asks the Owner of both worlds for every good, trusting that the One who taught this prayer through His Messenger loves to answer it.
وَمِنْهُمْ مَنْ يَقُولُ رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً
Wa minhum man yaqulu Rabbana atina fid-dunya hasanah
And of them are those who say our Lord give us good in this world
Following the Prophet’s Example
When the Prophet Muhammad (pbuh), who knew Allah best, chose one prayer to make above all others, the believer does well to make it their own. The dua of Prophet Muhammad (pbuh) gathers every good of this world and the next, and safety from the Fire, into a single, balanced request. By keeping it on the tongue, the believer follows the example of the Prophet (pbuh) and asks the Owner of both worlds for a complete success, trusting in His generosity to grant what is best. There is no richer prayer a believer can carry through life than the one the best of creation carried through his, and to echo it daily is to keep the heart fixed on all that truly matters, in this world and the next.
This supplication pairs naturally with the dua of Prophet Ibrahim for devotion, and the dua for forgiveness. Together they help the believer follow the prophets in turning to Allah, asking Him for the good of both worlds.
The Prophet (pbuh) made this prayer most of all, asking Allah for the good of both worlds at once. Learn the Quranic duas with us on YouTube, where the supplications are recited aloud, on Threads for a reminder to seek good in this life and the next, and on LinkedIn where readers share how they follow the example of the Prophet (pbuh).
Frequently Asked Questions
The dua of Prophet Muhammad (pbuh) that he made most often is Rabbana atina fid-dunya hasanatan wa fil-akhirati hasanatan wa qina ‘adhaban-nar, asking Allah for good in this world and the next and protection from the Fire. It is in Surah Al-Baqarah.
His companion Anas reported it was the supplication he made most frequently, for in its few words it asks for every good of both worlds and safety from the Fire. The most knowledgeable of people about Allah chose it above all.
Good in this world includes health, lawful provision, righteous family, knowledge, good character and faith, while good in the Hereafter includes forgiveness, the pleasure of Allah, and Paradise. The dua asks for all of it at once.
Recite it at any time and place, in prayer, in need and in daily remembrance, and especially during tawaf and after prayer. Because it asks for all good, it is never out of place.
Because rather than asking for one thing, it asks for all good in this world, all good in the Hereafter, and protection from the Fire, covering everything a believer could need. A few words gather every need.
It teaches balance, seeking the good of both worlds from the One who owns both, never sacrificing the Hereafter for this life or this life for the Hereafter. The believer seeks a complete, balanced success.
