قَالُوٓا۟ إِنَّآ إِلَىٰ رَبِّنَا مُنقَلِبُونَ ﴿125﴾ وَمَا تَنقِمُ مِنَّآ إِلَّآ أَنْ ءَامَنَّا بِـَٔايَـٰتِ رَبِّنَا لَمَّا جَآءَتْنَا ۚ رَبَّنَآ أَفْرِغْ عَلَيْنَا صَبْرًا وَتَوَفَّنَا مُسْلِمِينَ ﴿126﴾
125 They said: Lo! We are about to return unto our Lord! 126 Thou takest vengeance on us only forasmuch as we believed the tokens of our Lord when they came unto us. Our Lord! Vouchsafe unto us steadfastness and make us die as men who have surrendered (unto Thee).
Al-A’raf 7:125–126 on Quran.com · Pickthall’s translation
Allah tells us the stories of the earlier prophets for a reason: all that We relate to you of the stories of the messengers is to make your heart firm (Hud 11:120). The Prophet ﷺ was carrying a message to people who did not want to hear it, and these stories gave him strength. They do the same for us. But some of the strongest lessons in them come from people who were not prophets at all. In Surah al-A’raf, one of the most moving duas in the Quran is made by a group of men who had believed only minutes earlier: Pharaoh’s magicians.
They had been gathered to defeat Musa in front of a huge crowd. Then they saw his miracle up close and knew it was no trick of the eye. They fell down in prostration and said, we believe in the Lord of the worlds, the Lord of Musa and Harun (al-A’raf 7:120 to 7:122). Pharaoh was furious. You believe in Him before I give you permission? He called it a plot and threatened to cut off their hands and feet on opposite sides and crucify every one of them (7:123 to 7:124).
This is what it can look like when someone accepts the truth. The heart has said yes, and then everything around it starts to push back. Family, friends, the pressure of the place you live. For the magicians, it was the most powerful man in the land, determined to make an example of them before thousands of people. Anyone who has come to Islam, or come back to it, knows a smaller version of this moment.
Their first answer was calm: we are returning to our Lord (7:125). Do what you want; our accountability is with Him. The Prophet ﷺ taught us to live in this world like a stranger or a traveller (Sahih al-Bukhari 6416). Think of it as a layover on the way to your real destination. Hardship is easier to carry when you know it is short, and that what lasts is how you answered Allah. Then they said Pharaoh’s only grievance was that we believed in the signs of our Lord when they came to us (7:126). The early commentators said it well: they began that day as magicians and ended it as martyrs.
Then came the dua: Our Lord, pour patience on us and take our souls as Muslims (7:126). The scholars explain that two kinds of patience are being asked for here. One is patience through the calamity about to fall on them. The other is patience on the faith itself, staying firm in it while the world pulls the other way. We need that second kind more and more. The Prophet ﷺ warned of trials so heavy that a man would wake as a believer and be a disbeliever by evening (Sahih Muslim 118). He said that a time would come when holding on to your religion would be like holding a burning coal (Jami at-Tirmidhi 2260, graded hasan by Darussalam; at-Tirmidhi called it gharib). As one teacher put it, if you feel no burn at all, check that you are still holding on to something.
The last words of the dua are take our souls as Muslims, in a state of submission to You. Faith has its ups and downs, so they asked that the moment of leaving would be a moment of surrender. None of us knows when that moment is. So the only way to work towards this dua is to live every moment as a Muslim, because any moment could be the last. Keep it on your tongue, alongside the other duas from the Quran: Rabbana afrigh ‘alayna sabran wa tawaffana muslimin.