فاجعل ثناءك دثاري وذكرك شعاري، لا إله غيرك، تنزيها لوجهك وتعظيما لسحبات قدسك. أجرني من عقوبتك وسخطك، واضرب علي سراقات حفظك، وأعطني من خير ما أحاط به علمك. واصرف عني شر ما أحاط به علمك. وأمن روعاتي يوم القيامة يا راحم الراحمين. قال الفضل: فما دخلت على سلطان فدعوت بالدعاء إلا ضحك في وجهي وضمني وأكرمني
So make Your praise my outer garment and Your remembrance my inner garment. There is no god but You, in transcendence of Your Face and in magnification of the glories [?] of Your holiness. Protect me from Your punishment and Your anger, spread over me the pavilions [?] of Your safekeeping, give me of the good of what Your knowledge encompasses, and turn away from me the evil of what Your knowledge encompasses. And make my terrors safe on the Day of Resurrection, O Most Merciful of the merciful. Al-Fadl said: I never entered upon a ruler and prayed this prayer but he laughed in my face, embraced me and honoured me.
وفي رواية أخرى، إن الفضل سأله بما دعى به، فقال له نعم. هو ما حدثني به مالك عن نافع عن ابن عمر أن النبي صلى الله عليه وسلم، دعا به يوم الأحزاب: اللهم إني أعوذ بنور قدسك وعظمة طهارتك وبركة جلالك من كل آفة وعاهة. وذكر نحو ما تقدم. وتوفي الشافعي بمصر عند عبد الله بن عبد الحكم وإليه أوصى. قال الربيع: كنا جلوسا في حلقة الشافعي بعد موته بيسير، فوقف علينا إعرابي فسلم، ثم قال أين قمر هذه الحلقة وشمسها؟ فقلنا توفي رحمه الله تعالى، فبكى بكاءا شديدا وقال رحمه الله وغفر له، ما كان يفتح ببيانه منغلق الحجة ويهدي خصمه واضح الحجة، ويغسل من العار وجوها مسودة، ويوسع من الرأي أبوابا منسدة، ثم انصرف. وكانت وفاته بمصر يوم لخميس وقيل ليلة الجمعة منسلخ رجب سن أربع ومائتين ودفنه بنو الحكم في قبورهم. وصلى عليه أمير مصر وكان رحمه الله تعالى خفيف العارضين يخضب.
In another report, al-Fadl asked him what he had prayed, and he said to him: Yes. It is what Malik told me, from Nafiʿ, from Ibn ʿUmar, that the Prophet, God bless him and grant him peace, prayed it on the day of the Confederates (al-Ahzab): O God, I seek refuge in the light of Your holiness, the greatness of Your purity and the blessing of Your majesty, from every bane and blight — and he mentioned something like what preceded. Al-Shafiʿi died in Egypt at the house of ʿAbd Allah ibn ʿAbd al-Hakam, and to him he made his testament. Al-Rabiʿ said: We were sitting in al-Shafiʿi's circle shortly after his death, when a Bedouin stopped by us and greeted us, then said: Where is the moon of this circle and its sun? We said: He has died, God Most High have mercy on him. He wept bitterly and said: God have mercy on him and forgive him! How he used to open with his eloquence what was closed of argument, and guide his opponent to the clear proof, and wash faces blackened with shame, and widen doors of opinion that were shut! Then he went away. His death was in Egypt on Thursday — it is said on the eve of Friday — at the end of Rajab of the year 204. The Banu l-Hakam buried him among their tombs, and the emir of Egypt prayed over him. He, God Most High have mercy on him, had thin side-whiskers and used dye.