# The Story of Prophet Ayyub in the Qur’an: Affliction, Supplication and Restoring Mercy

> Remembered in the Qur’an as an excellent and ever-returning servant, Prophet Ayyub endured prolonged physical affliction and loss with dignified patience. His brief, reverent supplication in Surah Al-Anbiya and his miraculous restoration in Surah Sad reveal how honest prayer and steadfastness belong together.

## 21:83

۞ وَأَيُّوبَ إِذْ نَادَىٰ رَبَّهُۥٓ أَنِّى مَسَّنِىَ ٱلضُّرُّ وَأَنتَ أَرْحَمُ ٱلرَّٰحِمِينَ

And [mention] Job, when he called to his Lord, "Indeed, adversity has touched me, and you are the Most Merciful of the merciful."

## 21:84

فَٱسْتَجَبْنَا لَهُۥ فَكَشَفْنَا مَا بِهِۦ مِن ضُرٍّۢ ۖ وَءَاتَيْنَٰهُ أَهْلَهُۥ وَمِثْلَهُم مَّعَهُمْ رَحْمَةًۭ مِّنْ عِندِنَا وَذِكْرَىٰ لِلْعَٰبِدِينَ

So We responded to him and removed what afflicted him of adversity. And We gave him [back] his family and the like thereof with them as mercy from Us and a reminder for the worshippers [of Allah].

## 38:41

وَٱذْكُرْ عَبْدَنَآ أَيُّوبَ إِذْ نَادَىٰ رَبَّهُۥٓ أَنِّى مَسَّنِىَ ٱلشَّيْطَٰنُ بِنُصْبٍۢ وَعَذَابٍ

And remember Our servant Job, when he called to his Lord, "Indeed, Satan has touched me with hardship and torment."

## 38:42

ٱرْكُضْ بِرِجْلِكَ ۖ هَٰذَا مُغْتَسَلٌۢ بَارِدٌۭ وَشَرَابٌۭ

[So he was told], "Strike [the ground] with your foot; this is a [spring for] a cool bath and drink."

## 38:44

وَخُذْ بِيَدِكَ ضِغْثًۭا فَٱضْرِب بِّهِۦ وَلَا تَحْنَثْ ۗ إِنَّا وَجَدْنَٰهُ صَابِرًۭا ۚ نِّعْمَ ٱلْعَبْدُ ۖ إِنَّهُۥٓ أَوَّابٌۭ

[We said], "And take in your hand a bunch [of grass] and strike with it and do not break your oath." Indeed, We found him patient, an excellent servant. Indeed, he was one repeatedly turning back [to Allah].

## Restraint and Dignity in Recounting Affliction

Across religious traditions, the name of Prophet Ayyub (Job) is synonymous with profound patience under prolonged suffering. Ranked in [Surah Al-An‘am 6:84](https://quran.com/6/84) and [Surah An-Nisa 4:163](https://quran.com/4/163) among the guided messengers and righteous descendants of Ibrahim, Ayyub is remembered for enduring a severe test that touched his health, his family, and his worldly means. Yet when we turn directly to the two principal passages where his trial is recounted—[Surah Al-Anbiya 21:83–84](https://quran.com/21/83-84) and [Surah Sad 38:41–44](https://quran.com/38/41-44)—one of the first things a careful reader notices is the extraordinary restraint of the Qur’anic text. Unlike folklore accounts that dwell at length on graphic descriptions of bodily disease or extended arguments with critical acquaintances, the Qur’an preserves Ayyub’s dignity by summarizing his entire ordeal through his own quiet words to his Lord.

This editorial silence is itself a moral teaching. Suffering in the Qur’an is never turned into a spectacle for the curious eye, nor does revelation validate the popular assumption that severe illness is proof of divine displeasure. What matters is how the heart conducts itself when health, wealth, and comfort are stripped away. Just as we saw in [the story of the Companions of the Cave](/en/stories/companions-of-the-cave), where unnecessary historical trivia is set aside to highlight faith, the account of Ayyub focuses entirely on the inward relationship between a tested servant and the Most Merciful.

## The Courtesy of Ayyub’s Supplication

In [Surah Al-Anbiya 21:83](https://quran.com/21/83), the reader is invited to remember Ayyub when he called to his Lord, saying that adversity had touched him, and You are the Most Merciful of the merciful. Every word of this brief prayer deserves slow reflection. First, notice the verb Ayyub chooses: adversity has *touched* me. Even after enduring severe loss of health and family, he describes his affliction before God as a passing touch on the surface rather than a permanent identity, remembering with gratitude the vast years of blessing that preceded his illness and trusting that his inward bond with God remained untouched.

Second, notice the exquisite spiritual courtesy (*adab*) of how Ayyub frames his request. He does not formulate an explicit imperative demanding that God remove the pain or questioning why the trial lasted so long. Instead, he lays his true state before God—acknowledging his human fragility—and praises God as the Most Merciful of the merciful. When a trusted servant simply states his pain in the presence of the One whose compassion encompasses all things, the statement itself is the most eloquent plea.

In [Surah Sad 38:41](https://quran.com/38/41), a second dimension of his call is recorded: Ayyub called to his Lord that Satan had touched him with exhaustion and torment. Because a believer’s toughest battle during chronic illness or prolonged loss is often the inward whispering of despair—the suggestion that one has been forgotten or abandoned by God, or the strain placed upon relationships—Ayyub attributes that exhausting heaviness and agitation to Satan while turning straight to his Lord for refuge. This union of honest vulnerability and unshakeable trust mirrors Ya‘qub’s words in [the story of Prophet Yusuf](/en/stories/story-of-prophet-yusuf) and Yunus’s call in [the story of Prophet Yunus](/en/stories/story-of-prophet-yunus).

## Why Asking God for Relief Is the Heart of Patience

A common misconception in spiritual life is the belief that true patience (*sabr*) requires stoic silence—that admitting pain or asking God for healing somehow diminishes a believer’s reward. The Qur’anic narrative of Ayyub decisively corrects this idea. In [21:83](https://quran.com/21/83) and [38:41](https://quran.com/38/41), Ayyub calls out to his Lord about his distress and exhaustion; and in [38:44](https://quran.com/38/44), God praises him with the highest commendation: indeed, We found him patient—an excellent servant! Indeed, he was one who repeatedly turned back to God (*awwab*).

Why is Ayyub called patient *because* he prayed rather than in spite of praying? Because the opposite of patience is complaining *against* God to creation with bitterness and resentment, whereas complaining of one’s pain *to* God is the purest expression of servitude. Stoicism tries to prove human self-sufficiency by pretending not to hurt; Qur’anic patience acknowledges human need and brings that need directly to the Creator. The word *awwab* in [38:44](https://quran.com/38/44) describes a person whose reflex in every circumstance—ease or hardship, strength or weakness—is to turn back toward his Lord. Readers exploring how the Qur’an holds together honest emotion and steadfastness can study our reflections on [patience and ease](/en/verses/patience-and-ease) and [finding ease in hardship](/en/topics/ease).

## The Cool Spring and the Restoration of Family

When Ayyub’s prayer rose in [21:84](https://quran.com/21/84), God responded immediately: so We responded to him and removed what was upon him of adversity. In [Surah Sad 38:42](https://quran.com/38/42), the physical means of that healing is described with vivid simplicity. God commanded Ayyub to strike the ground with his foot, declaring: this is a cool spring for washing and a drink.

Just as Maryam was instructed to shake the trunk of the date palm in [the story of Maryam and Isa](/en/stories/story-of-maryam-and-isa), Ayyub was invited to take a small physical step—striking the earth with his foot—through which divine power brought forth both outward cleansing and inward healing. Alongside bodily restoration, [21:84](https://quran.com/21/84) and [38:43](https://quran.com/38/43) record that God gave him back his family and the like thereof with them, as a mercy from Our presence and a reminder for the worshippers and those of understanding. Notice how both passages emphasize that this restoration is not merely a private miracle for one prophet in antiquity, but a permanent reminder for all worshippers who call upon God in distress and for every person of understanding who reflects on how quickly divine mercy can renew a barren season.

## Gentle Mercy in Fulfilling an Oath

Finally, [Surah Sad 38:44](https://quran.com/38/44) includes a tender detail of legal and domestic mercy. During the height of his illness, Ayyub had sworn an oath in a moment of human strain to strike a hundred blows, and once healed, he feared either breaking his oath to God or causing harm to one who had stood by him through his long trial. God granted him a merciful way out, instructing him to take in his hand a bundle of thin grass stalks and strike once with it so as not to break his oath. Even at the close of a severe trial, divine revelation protects gentleness, gratitude, and compassion within the household. Read alongside [our lesson on reading the Qur’an with context](/en/lessons/reading-the-quran-with-context) and [inner peace](/en/topics/peace), Ayyub’s story remains a quiet sanctuary for every heart enduring a long season of waiting.

## FAQ

### Where is the story of Prophet Ayyub (Job) found in the Qur’an?

The two primary passages recounting Prophet Ayyub’s trial, prayer, and restoration are in Surah Al-Anbiya (21:83–84) and Surah Sad (38:41–44).

### What is the prayer of Prophet Ayyub in Surah Al-Anbiya 21:83?

In verse 21:83, Ayyub called upon his Lord with deep courtesy and humility, stating simply that adversity had touched him and that God is the Most Merciful of the merciful.

### Does asking God for relief contradict patience in the Qur’an?

No. In Surah Sad 38:44, God praises Ayyub explicitly as steadfast and patient even after he prayed for relief in 21:83 and 38:41, showing that turning to God in need is the essence of true patience.

### How did God restore Prophet Ayyub in Surah Sad 38:42–43?

God commanded Ayyub to strike the ground with his foot, bringing forth a cool spring for washing and drinking, removed his affliction, and restored his family and the like thereof alongside them as a mercy and a reminder.


## Sources

- [Surah Al-Anbiya 21:83–84](https://quran.com/21/83-84)
- [Surah Sad 38:41–44](https://quran.com/38/41-44)
- [Surah Al-An‘am 6:84](https://quran.com/6/84)
- [Surah An-Nisa 4:163](https://quran.com/4/163)