Origin 600 to 700 CE
The Prayer for Steadfast Hearts is a Quranic supplication asking God not to let the heart deviate after having received guidance, and to grant mercy, since God is described as the giver of all good. It reflects a recurring Quranic concern that faith, once given, can still waver or be lost, so the prayer treats steadfastness itself as something to be requested rather than assumed. Muslims draw on such Quranic supplications, known collectively as forms of dua, in both formal and personal prayer. Its focus on the durability of belief over time, rather than a single immediate need, sets it apart from more situational Quranic petitions.
Facts
Origins
Origin Period Use
What It Is Used ForPetition: asks for something 1 Status
Canonical Status Learn More
Guidance That Can Still Be Lost
This Quranic supplication, asking God not to let the heart deviate after having received guidance and to grant mercy from God's presence, appears within a passage of the third surah, Al Imran, that Islamic commentators have long read as addressing a real theological anxiety: if guidance is a gift from God, can it still be lost, and if so, who bears responsibility for that loss. Classical exegetes generally treat the prayer as evidence that the Quran does not present faith as a one-time, permanently secured event but as a condition requiring ongoing divine support to maintain, which is why believers are instructed to actively ask for its continuation rather than assume it once received.
The prayer's closing appeal to God as the giver, al-Wahhab, one of the names traditionally associated with divine generosity, reinforces this framing by presenting steadfastness itself as a further gift to be requested rather than a status achieved once and held automatically thereafter. Commentators have also connected the verse to a broader Quranic theme found in several other passages warning believers against complacency, presenting continued reliance on God, rather than confidence in one's own settled faith, as the properly humble posture for a believer to maintain.
A Quiet Supplication Without a Fixed Occasion
Unlike Al-Fatiha, which is a required element of every unit of the five daily prayers, the Prayer for Steadfast Hearts belongs to the much larger body of Quranic supplications, forms of dua, that Muslims may draw on freely in personal devotion rather than at a fixed liturgical moment, and its use accordingly depends heavily on individual and community custom rather than legal requirement. It is frequently recited by Muslims during periods of religious doubt or spiritual difficulty, when the concern the prayer directly names, the fear of one's heart drifting from guidance already received, feels most immediate, and Islamic pastoral and devotional literature commonly recommends it in exactly that context. Its wording is short enough to be easily memorized alongside other brief Quranic petitions, and Islamic educational materials aimed at both children and adult converts often group it together with similarly compact supplications as a starting set of prayers a Muslim can call on without needing to consult a text.
Because the surah in which it appears also addresses the aftermath of a difficult military episode in early Islamic history, the Battle of Uhud, some commentators read the prayer as originally addressed to believers processing setback and uncertainty rather than as a generic statement composed without any specific occasion behind it.
Cross-Tradition Connections
Addressed To
Addressed to the Abrahamic God in this tradition's own language and theology.
Belongs to Tradition
Originates in Language
The prayer is transmitted in Arabic.
Sources
Reader Challenges (0 open reader challenges)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.
View At A Past Year
Choose a year to see this entry's facts and connections as the atlas records them at that moment: what it held then, what it held instead, and what it had not yet adopted. Choose Present for the current record.