The shaykh and imam Abu al-'Abbas Ahmad ibn Mahmud al-Ghaznawi the preacher mentioned in his book *Muqaddimat al-salat*, from Hafs ibn Ghiyath, who said: “Abu Hanifa prayed the dawn prayer with the ablution of the night prayer for forty years. I said: ‘I ask you by God, what has given you strength for the obedience to God Most High that I see?’ He said: ‘I called upon God by His names following the alphabet (alif, ba', ta', tha'). They are (the letters) in one verse in the Book of God Most High, whose first letter is mim and whose last is sad. Whoever calls upon God Most High with them is answered.’ I asked him to teach them to me, and he dictated them to me in the order of the verse ‘Muhammad is the Messenger of God …’: In the name of God, the Merciful, the Compassionate.
Mim. O God, You are the Bestower of favour, the Answerer, the Giver of security, the Guardian, the King, the Sovereign, the Proud, the Fashioner, the Rich, the Giver, the Withholder, the Bringer of death, the Exalted, the Glorified, the Glorious, the Giver of life, the Determiner, the Manifest: I ask You for Your good pleasure and the Garden.
Ha'. O God, You are the Living, the Tender, the Forbearing, the Praiseworthy, the Wise, the Truth, the Preserver, the Reckoner: I ask You for Your good pleasure and the Garden.
Dal. O God, You are the Everlasting, the Judge, the Repeller: I ask You to repel the evil of what I fear; I ask You for Your good pleasure and the Garden.
Ra'. O God, You are the Merciful, the Compassionate, the Lord, the Kind, the Pitying, the Provider, the Sustainer: so provide for me from where I do not reckon; I ask You for Your good pleasure and the Garden.
Sin. O God, You are Peace, the All-Hearing, the Hearer: You hear my prayer and know my secret and my open conduct, so do not turn away from me and keep me safe from all evil; I ask You for Your good pleasure and the Garden.
Waw. O God, You are the One, the Patron, the Guardian, ⟨the Loving⟩, the Inheritor, the Bestower: I ask You for Your good pleasure and the Garden.
Lam. O God, You are the Subtle, You provide for whom You will without reckoning: so provide me with knowledge from You and make me one of Your righteous servants; I ask You for Your good pleasure and the Garden.
Alif. O God, You are the First and the Last: grant me success in what You love and are pleased with, and keep me away from what angers and displeases You; I ask You for Your good pleasure and the Garden.
Ha'. O God, You are the Guide: guide me with Your guidance and bring me out of the darkness into the light; I ask You for Your good pleasure and the Garden.
Dhal. O God, Possessor of majesty and honour, Possessor of strength, the Firm, Lord of the glorious Throne, of severe assault, of great bounty, of favour, of abundance: I ask You for Your good pleasure and the Garden.
Kaf. O God, You are the Bringer into being; everything comes to be from You, and whatever is, is from You; You were before everything and will be after everything: I ask You for Your good pleasure and the Garden.
Nun. O God, You are the Light of the heavens and the earth, the Illuminer of light and its Creator: I ask You for Your good pleasure and the Garden.
'Ayn. O God, You are the High, the Mighty, the All-Knowing, the Powerful, the Pardoner, the Just: pardon me my past sins and grant me success in obeying You in what remains of my life; I ask You for Your good pleasure and the Garden.
Shin. O God, You are the Thankful, the Appreciative, the Witness who is never absent, the Witness who witnesses my secret and my open conduct and knows the inmost thought of my heart; nothing of my affairs is hidden from You: I ask You for Your good pleasure and the Garden.
Kaf. O God, You are the Sufficient, the Generous, the Great, the Guarantor; You have guaranteed the provision of Your servants and of every creature, and have sufficed them: so suffice me against the evil of my soul and the evil of jinn and men; I ask You for Your good pleasure and the Garden.
Fa'. O God, You are the Single, Doer of what You will, Opener of good things: open for me the doors of Your bounty and mercy; I ask You for Your good pleasure and the Garden.
Ba'. O God, You are the Benign, the Originator, the Inventor, the Resurrector, the Enduring; Inventor, You invented what You willed, and everything is after You; You are the Enduring after them: I ask You for Your good pleasure and the Garden.
Ta'. O God, You are the Relenting; You see and are not seen, and You are at the highest vantage: turn to me with sincere repentance; I ask You for Your good pleasure and the Garden.
Jim. O God, You are the Compeller, the Beautiful, the Generous: be generous to us with Your good pleasure in us; I ask You for Your good pleasure and the Garden.
Ghayn. O God, You are the Forgiver, the Forgiving, the Pardoner, the Helper, the Rich; You have no need of me or of the servants, and we are in need of You: I ask You for Your good pleasure and the Garden.
Dad. O God, You are the Illuminating; Yours is the light that shines; You lead astray whom You will and guide whom You will: so do not lead me astray after You have guided me; I ask You for Your good pleasure and the Garden.
Lam-alif. O God, You do not join good with evil: so do not join evil to my good, and bring me out of the darkness into the light; I ask You for Your good pleasure and the Garden.
Tha'. O God, You are the Firm: make me firm in obeying You and do not let me leave it, and make me firm with the firm word in the life of this world and in the Hereafter; I ask You for Your good pleasure and the Garden.
Zay. O God, You are the Restrainer; You restrained the sea from the land and restrained the devils from whom You willed: so restrain from me the devils of men and jinn; I ask You for Your good pleasure and the Garden.
Kha'. O God, You are the Creator, the All-Aware; You created me and everything You create; in Your hand is good: so seal my end with good and happiness; I ask You for Your good pleasure and the Garden.
Ta'. O God, You are the Pure, the Folder, who folds up the heavens as a scroll is rolled up for writings: enable me to act in obedience to You as You enabled the Cherubim and the bearers of Your Throne; I ask You for Your good pleasure and the Garden.
Za'. O God, You are the Manifest; You are manifest yet not seen, hidden yet not concealed, and You are at the highest vantage: turn to me with sincere repentance; I ask You for Your good pleasure and the Garden.
Qaf. O God, You are the Self-Subsisting, the Upholder, the Powerful, the Eternal, the Near, the Subduer, the Overpowering, the Able: grant me the good of the decree and destiny; I ask You for Your good pleasure and the Garden.
Sad. O God, You are the Eternal Refuge, the Truthful: bestow the Garden on me as alms and free me from the Fire; I ask You for Your good pleasure and the Garden.
O God, bless Muhammad and the family of Muhammad as You blessed and gave peace to Abraham and the family of Abraham; You are Praiseworthy, Glorious. O God, our Lord, give us good in this world and good in the Hereafter, and protect us from the punishment of the Fire. Praise be to God, Lord of the worlds, and God bless our master Muhammad, his family and his Companions, all of them. Amen.”
The verse is Q 48:29, which contains every letter of the alphabet. Q 2:201 at the end.
Provisional: a word in the manuscript is not yet securely read; see the marks [?] in the Arabic.