General Context
The Qur’an opens the story at its purest point. It passes over the young men’s names and number, the color of their dog, and the location of the cave. It begins at the moment they sought refuge with Allah and uttered a prayer from young hearts that understood how the whole earth can close in when there is no room to live by faith, and how a narrow cave can open wide when it becomes a door to Allah’s mercy. The Qur’an has already said: ﴿إِنَّا جَعَلْنَا مَا عَلَى الْأَرْضِ زِينَةً لَّهَا﴾ (“Indeed, We have made that which is on the earth adornment for it”, Qur’an 18:7). Now these young men leave behind the adornments of the earth, or at least some of the most conspicuous of them: family, homeland, the security of their community, and perhaps status and comfort. They enter a cave bare of everything that adorns the earth, yet it holds the greatest thing a place can hold: the sincerity of those who have turned to Allah for refuge.
The verse presents flight as an act of faith when remaining among those who uphold falsehood puts faith at risk. The young men escaped in order to fulfill a greater duty: preserving their faith. They fled a way of life that threatened to rob life itself of meaning. They left their people because that society was pressing them to worship something besides Allah. The cave thus became an enduring symbol of every refuge a believer seeks to protect the heart from tyranny and every retreat chosen out of concern for the truth.
Al-Tabari says: “Allah, exalted be His mention, says to His Prophet Muhammad, may Allah bless him and grant him peace: ‘﴿أمْ حَسِبْتَ أنّ أصحَابَ الكَهْفِ والرّقِيمِ كانُوا مِنْ آياتِنا عَجَبا﴾ (“Or have you thought that the companions of the cave and the inscription were, among Our signs, a wonder?”, Qur’an 18:9),’ when the young men, the Companions of the Cave, sought refuge in the mountain cave, fleeing to Allah to preserve their faith. As they entered it, they said, ‘﴿رَبّنا آتِنا مِنْ لَدُنْكَ رَحْمَةً﴾ (“Our Lord, grant us from Yourself mercy”, Qur’an 18:10),’ asking their Lord to grant them mercy from Himself. His words ‘﴿وَهَيّئ لَنا مِنْ أمْرِنا رَشَدا﴾ (“and prepare for us from our affair right guidance”, Qur’an 18:10)’ mean that they asked Him to make things easy for them as they sought His pleasure and fled from disbelief in Him and from worshipping the idols to which their people called them. By ‘﴿رَشَدا﴾ (“right guidance”, Qur’an 18:10)’ they asked for sound direction in doing what He loves.” — Jamiʿ al-Bayan ʿan Taʾwil Ay al-Qur’an, Muhammad ibn Jarir al-Tabari.
Al-Tabari’s words “fleeing to Allah to preserve their faith” reveal the heart of the story. Their flight was the soul’s passage from trial to mercy. They had left the authority of their people and entered Allah’s protection. Their first words in the cave were a prayer, before any complaint, calculation, or talk of food and shelter: ﴿رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً﴾ (“Our Lord, grant us from Yourself mercy”, Qur’an 18:10). When visible means fall away, the believer’s trust shows its true character. When the earth closes in, prayer opens out.
Rhetorical Outpourings
The verse begins with ﴿إِذْ أَوَى﴾ (Qur’an 18:10). To take refuge is to seek protection and find a place to settle after fear or in search of safety. These young men entered the cave as people seeking sanctuary for their faith. The word ﴿أَوَى﴾ (Qur’an 18:10) carries in its shadow the weariness of the road, the fear of pursuit, the loneliness of leaving, and finally the quiet of finding shelter, even in what others saw as an empty cave. There is a tenderness in the Qur’an’s description of a cave as a refuge. We usually picture shelter as a warm home. Faith made a hollow in the mountainside a place they could dwell in, because true refuge lies in the mercy of Allah.
The Qur’an then says ﴿الْفِتْيَةُ﴾ (“the youths”, Qur’an 18:10). It could have said “when they took refuge,” since the Companions of the Cave had already been mentioned. Using the noun where a pronoun might be expected draws attention to their youth. They were at the beginning of their lives. Habit had yet to deaden them. They resisted the pressure of their elders and refused to trade the alertness of their innate disposition for the ease of belonging. Youth could have been a time of appetite and impulse. In their story it became a time of faith, courage, and clarity.
Ibn ʿAshur says: “The young men are the Companions of the Cave. An explicit noun appears where a pronoun would ordinarily stand. One might have expected ‘when they took refuge.’ The verse chose ‘the young men’ to show that they were peers, close in age. Describing them in this way also suggests the fullness of the qualities associated with manhood that are conveyed by ‘youth’: sound judgment, composure in danger, and defense of the truth. Thus the verse does not simply say ‘when they took refuge in the cave.’ The fāʾ in ﴿فَقَالُوا﴾ (“and said”, Qur’an 18:10) shows that as soon as they took refuge in the cave, they earnestly called upon Allah.” — Al-Tahrir wa-l-Tanwir, Muhammad al-Tahir Ibn ʿAshur.
Here the full force of the word comes through. Youth, in this sense, encompasses sound judgment, composure under pressure, and the defense of truth. Some young people are already old in their fear, their imitation of others, and their subservience to people. Others are young in years and mature in discernment. The Qur’an calls these men youths because their hearts remained fresh for the truth, had the courage to face it, and held firm when others wavered. The fāʾ in ﴿فَقَالُوا﴾ (“and said”, Qur’an 18:10) conveys immediacy. Once they reached the cave, they did not lose themselves in calculations. Their first act was to lift their hearts to Allah.
Abu Zahrah also says: “The Noble Qur’an makes them known through their qualities. The first is that they are fityah, the plural of fatā, young men in the first bloom of life. Their souls were fresh, unburdened by illusions, customs, conventions, and ancient inheritances that had taken up residence in the minds of those before them. They retained a sound innate disposition. The young are always quickest to respond to the truth when the way they have been brought up neither obstructs it nor puts a veil between them and it.” — Zahrat al-Tafasir, Muhammad Abu Zahrah.
This gives young people their due in the life of faith. They have a place of consequence in the history told by the Qur’an and can lead the way to safety when older people have grown numb through habit and inherited ways. Guidance remains open to people of every age. The verse shows how swiftly our innate disposition responds to the truth when illusions have not weighed it down. These young men could break through the social restraints around them and were ready to lose what they knew to preserve their faith.
The prayer then unfolds in three parts: ﴿رَبَّنَا﴾ (“Our Lord”, Qur’an 18:10), then ﴿آتِنَا مِن لَّدُنكَ رَحْمَةً﴾ (“grant us from Yourself mercy”, Qur’an 18:10), and then ﴿وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“and prepare for us from our affair right guidance”, Qur’an 18:10). They called upon Allah as their Lord because they needed Him to nurture them, care for them, and order their affairs. They asked for mercy directly from Him, a mercy born of nearness and grace. Finally, they asked for sound direction in their affair. They knew survival depended on Allah making their flight the right course and giving it a good outcome.
Al-Zamakhshari says: “﴿مِن لَّدُنكَ رَحْمَةً﴾ (“from Yourself mercy”, Qur’an 18:10) means mercy from the treasuries of Your mercy, namely forgiveness, provision, and safety from enemies. ﴿وَهَيِّئْ لَنَا مِنْ أَمْرِنَا﴾ (“and prepare for us from our affair”, Qur’an 18:10) refers to the course we have taken in separating ourselves from the disbelievers. ﴿رَشَدًا﴾ (“right guidance”, Qur’an 18:10) means that through it we may be sound in judgment and rightly guided, or that You make our whole affair one of sound direction.” — Al-Kashshaf ʿan Haqaʾiq Ghawamid al-Tanzil, Mahmud ibn ʿUmar al-Zamakhshari.
“Make our whole affair one of sound direction” captures the spirit of the prayer. They asked for sound direction in everything, far beyond a physical exit and a place of safety. A person may survive in body and lose all sound judgment. One may leave a place of trial for another, or flee a visible enemy only to find one within. Their prayer asks for more: prepare sound direction for us in our affair. Let the road, the decision, the outcome, the intention, and the final consequence all lead toward guidance.
Interpretive and Reflective Outpourings
This verse teaches us that in a time of trial the believer’s first need is to seek refuge rightly. The young men had no visible strength, army, authority, or elaborate plan in the account before us. They knew how to pray. They knew their Lord and their own need. They knew that mercy from Him would be enough, and that when Allah prepared the right course for them, the cave would be wider than the earth.
Al-Jassas says: “There is evidence here that a person must flee to preserve his faith when he fears being put to trial in it. […] It also indicates that when a person intends to flee with his faith for fear of such a trial, he should pray as Allah relates that they prayed. Allah approved of their act, answered their prayer, and related it to us by way of commending what they had done.” — Ahkam al-Qur’an, Abu Bakr Ahmad ibn ʿAli al-Jassas.
This quotation gives the verse an immediate bearing on life. Someone may fear for their faith in an environment that puts it to trial, in company that corrupts them, or in a place that draws them into sin. Steadfastness may mean leaving to preserve faith instead of remaining where the heart is perishing. That departure can be an act of discernment when confrontation is beyond one’s strength or circumstances do not call for it. Al-Jassas draws attention to a significant point: Allah relates their prayer with approval, as though teaching it to every believer who fears for their faith.
The verse brings action and prayer together. The young men sought refuge in the cave, taking a practical step, and then said “Our Lord.” Trusting in Allah leaves room for making use of the means at hand, and using those means need not lead to forgetfulness of Him. They did what they could and asked for what lay beyond their power. The same balance recurs in Qur’anic stories: tie it and put your trust in Allah, go out and pray, plan and seek help, flee the trial and ask for mercy.
Al-Saʿdi says: “﴿فَقَالُوا رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً﴾ (“and said, "Our Lord, grant us from Yourself mercy”, Qur’an 18:10) means mercy through which You make us steadfast, guard us against evil, and enable us to do good. ﴿وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“and prepare for us from our affair right guidance”, Qur’an 18:10) means make easy for us every means that leads to sound direction, and put right the affairs of our faith and our worldly lives. They combined practical effort and flight from the trial to a place where they could conceal themselves with earnest prayer, asking Allah to make their affairs easy and placing their reliance on Him rather than on themselves or on any created being.” — Taysir al-Karim al-Rahman fi Tafsir Kalam al-Mannan, ʿAbd al-Rahman ibn Nasir al-Saʿdi.
How much the believer needs both. In a time of trial, many make practical plans and forget to pray. Others pray at length but stay where their hearts are being ruined. The young men acted and called on Allah. They left the place of trial and prayed for sound direction. They hid in the cave and stood utterly exposed before Allah. He answered their prayer in His mercy and grace.
Consider also where their prayer began. They did not ask their Lord to destroy their people or avenge them on those who had harmed them. They began with their own need: grant us mercy and prepare sound direction for us. In their fear, they were intent on finding a safe and right way forward, with no thought of gloating over the wrongdoers. Here is a mark of mature faith: their deepest concern was to come through with their faith intact, and vengeance on their opponents never entered their prayer.
The cave comes to stand for every choice to take Allah’s side when the earth has little room for truth. The cave is a place in the rock and also a stance we take. A person’s cave today might be good companions, time alone with the Qur’an, departure from a corrupt environment, or closing a door to temptation. It might be a temporary withdrawal from a wave that threatens to overwhelm the heart, or the courage to say, “I cannot live against my faith.” What matters is that the cave leads toward Allah’s mercy and keeps one from retreating into helplessness or idleness.
Al-Biqaʿi says: “Having shown how small their affair was beside the majesty of His signs, the greatness of His proofs, and the marvels of what He made, He summed up the story they had deemed astonishing. They had overlooked what gives insight into the oneness of the One, the Subduer, which is the true wonder and the extraordinary account. So the Exalted said ﴿إِذْ أَوَى﴾ (Qur’an 18:10), meaning that they were in this situation when they took refuge. He used an explicit noun in place of a pronoun to show that they were young and few. They were too young to have acquired through learning and experience the insight they had attained in faith and worldly matters, and too few to protect themselves from those who might harm them awake or asleep. He therefore said ﴿الْفِتْيَةُ﴾ (“the youths”, Qur’an 18:10), [meaning] the Companions of the Cave about whom the question was asked. Young people are more receptive to truth and quicker to find the way than the old. ﴿إِلَى الْكَهْفِ﴾ (“to the cave”, Qur’an 18:10) refers to the cave near their village, well known in their town. They fled to preserve their faith, as you and al-Siddiq took shelter in the Cave of Thawr to preserve yours. ﴿فَقَالُوا﴾ (“and said”, Qur’an 18:10) follows their settling there: ﴿رَبَّنَا آتِنَا﴾ (“Our Lord, grant us”, Qur’an 18:10). As was mentioned from al-Haralli in Al ʿImran, existing things fall into three orders: things proceeding in accordance with the ordinary laws of divine wisdom, exceptional gifts from Allah that break regular patterns, and gifts directly from Him, wholly in the realm of the extraordinary. They asked for the highest of these and said ﴿مِن لَّدُنكَ﴾ (“from Yourself”, Qur’an 18:10), from the most hidden and wondrous of the affairs that are Yours. ﴿رَحْمَةً﴾ (“mercy”, Qur’an 18:10) asks for an honor with which You might favor us as one who is merciful favors one who receives mercy. ﴿وَهَيِّئْ لَنَا﴾ (“and prepare for us”, Qur’an 18:10) means for all of us, leaving none of us disappointed. ﴿مِنْ أَمْرِنَا رَشَدًا﴾ (“from our affair right guidance”, Qur’an 18:10) asks for a course by which You guide us to deliverance in both abodes. It is little wonder that, in keeping with the way their Lord answered them, their story became extraordinary, unique in its age, and retold in every country at all times and seasons.” — Nazm al-Durar fi Tanasub al-Ayat wa-l-Suwar, Ibrahim ibn ʿUmar al-Biqaʿi.
Al-Biqaʿi draws a subtle parallel between the young men’s cave and the Cave of Thawr. It opens up a way to read the story in the history of revelation. Great transformations in the history of faith may begin in a confined refuge. Young men in a cave, a prophet and his companion in a hollow in the mountain, believers held down by their society meeting in the House of al-Arqam. What matters is the sincerity of their purpose. When people of faith enter a cramped place, it can become the womb of a great future.
The words ﴿مِن لَّدُنكَ رَحْمَةً﴾ (“from Yourself mercy”, Qur’an 18:10) suggest something out of the ordinary. The young men did not seek mercy through familiar means. They had already gone beyond many of them, from the city to the cave, from human protection to Allah’s protection, from the network of what they knew into the wide realm of the unseen. They said “from You,” asking for a particular mercy that could not be measured by the usual standards. And so it was. They slept for many years, their bodies were preserved, and their story became a sign. They asked for what comes from Him, and from Him came what human calculations could never have conceived.
Al-Alusi says: “Mercy has been explained as forgiveness, provision, and safety. It is preferable to interpret it in a way that encompasses these and more. ﴿مِن لَّدُنكَ﴾ (“from Yourself”, Qur’an 18:10) suggests that it is a matter of grace, freely bestowed, as though they had said, ‘Our Lord, favor us with mercy.’ […] ﴿رَشَدًا﴾ (“right guidance”, Qur’an 18:10) means finding and being guided along the road that leads to what is sought.” — Ruh al-Maʿani, Mahmud ibn ʿAbd Allah al-Alusi.
This frees the prayer from too narrow a definition. The mercy they sought includes forgiveness, provision, safety, steadfastness, tranquility, guidance, subtle kindness, and all that they need, whether they know it or not. Our sense of what to ask for is sometimes narrower than our need. We ask for something specific, but the Qur’anic prayer teaches us to seek mercy directly from Allah because it exceeds anything we can conceive. Then we ask for sound direction. We may be unable to receive mercy well without it, and the right course may be hard for us to bear without mercy.
Spiritual Outpourings
This is one of the Qur’an’s purest verses about seeking refuge. There are young men, a cave, darkness, isolation, and then a call: ﴿رَبَّنَا﴾ (“Our Lord”, Qur’an 18:10). As though all the constriction in the scene opened a door into spaciousness. In outward terms Allah sheltered them in the cave. Inwardly He sheltered them in the care He took of them. To others the cave might seem a place where means had failed. To those who see deeply, it is where the One who brings the means into being becomes manifest. When the small ropes are cut, the great rope comes into view.
Al-Qushayri says: “He sheltered them bodily in the cave. Inwardly, He gave them a place to rest in the shade of His favor and solicitude. He then took them away from themselves and took charge on their behalf, bringing them through their various states while they were absent from their own perceptions. He tells how their affair began in His words ﴿رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“Our Lord, grant us from Yourself mercy and prepare for us from our affair right guidance”, Qur’an 18:10). That is, they began by renouncing any claim to power or strength and returned to Allah in the sincerity of their need. He answered their prayer, removed their distress, and settled them in a good place of rest in the safety of His shelter.” — Lataʾif al-Isharat, ʿAbd al-Karim ibn Hawazin al-Qushayri.
This passage shows the inward side of the story: renouncing any claim to power or strength. The young men made no declaration of their courage, their survival, or the soundness of their plan. They said, “Our Lord, grant us.” This is what it means to know our need for Allah. Whoever enters a cave relying on their cleverness alone remains alone. Whoever enters it knowing that they have no power or strength of their own finds Allah to be their Protector. One way the soul finds peace in hardship is by taking off its claim to strength and putting on the garment of need.
It is also striking that they asked first for mercy and sound direction in their own affair. They did not begin by asking for everything around them to change. This is a profound spiritual courtesy. The situation may stay as it is for a time. The wrongdoer may remain a wrongdoer, the trial may continue, and the cave may be cramped. When Allah’s mercy descends upon the heart, it changes what the place means. Guided steps take the right road even if it is hard. The servant need not always wait for circumstances to change before finding peace. Sometimes what they need is mercy from Allah that enables them to make it through.
Al-Shaʿrawi says: “They took shelter in the cave, leaving their wealth, their families, and everything they owned behind. They fled to preserve their faith, into a cramped place with nothing that could sustain life. Such necessities did not occupy their minds because they knew that they had a Lord who would take their affair in hand. So they implored Him, saying ﴿رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً﴾ (“Our Lord, grant us from Yourself mercy”, Qur’an 18:10), meaning mercy from You, with which You may have mercy on us in this place cut off from all means of livelihood. In a cleft in the mountain, mercy cannot come from people. [Mercy] here can come only from Allah: ﴿وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“and prepare for us from our affair right guidance”, Qur’an 18:10), meaning make a sound path to goodness and truth easy for us.” — Khawatir al-Shaʿrawi, Muhammad Mutawalli al-Shaʿrawi.
How telling are his words, “In a cleft in the mountain, mercy cannot come from people.” In a city one may imagine mercy coming from people and the means at hand. In a cleft in the mountain, only Allah remains. That is why some of life’s caves are a blessing. They strip the heart of illusions about where help comes from and teach it that mercy comes from Allah before it reaches us by any means.
Psychological Outpourings
The verse shows a mature way of dealing with hardship. The young men did not break down, give way to panic or anger, or freeze in the crisis. They did what the circumstances called for: they took refuge in the cave. Then they said what the moment called for: “Our Lord, grant us.” In reflecting on their faith, notice the sequence: the right action, then the right prayer. There is a decision and an earnest appeal, free of panic, denial of reality, conceited self-reliance, and passive waiting.
Husayn Fadlallah says: “﴿رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“Our Lord, grant us from Yourself mercy and prepare for us from our affair right guidance”, Qur’an 18:10) […] Those striving in the way of Allah may need to draw inspiration from this in times of hardship and moments of perplexity, when the powers of disbelief and tyranny bring their brutal and barbarous pressure to bear on them. They stand bewildered at a crossroads, unsure where to go. Turning back to Allah to seek mercy and ask Him to prepare the way of sound direction gives believers engaged in this work a great measure of spiritual steadiness, peace of mind, calm in their thinking, and confidence in the future. […] It comes through trusting Allah, finding reassurance in Him, and coming to rest in the safety of His presence. […] They can then continue toward the great goal, despite the difficulties and challenges that surround them on every side.” — Min Wahy al-Qur’an, Muhammad Husayn Fadlallah.
This passage touches the heart of the young men’s experience. When tyrannical powers close in, the road branches, and the believer is unsure where to turn, asking for mercy and sound direction can bring inner steadiness. Danger may remain, yet the prayer brings the soul back to its center: Allah. Turning to Allah when bewildered helps the mind settle so that one can think and act. A person can find peace in trusting Allah amid the difficulties that confront them.
The verse also teaches that fear for one’s faith can prompt the right action. The young men feared the trial, so they left the place where it confronted them, took steps to find safety, and asked Allah for mercy and sound direction. Fear can become so intense that it stops a person from acting. That alone says little about the strength of their faith. They may need help regaining their capacity to act and telling what would protect them apart from what would make them feel more helpless. What matters here is choosing the right course and using whatever means of escape are within reach.
The choice of ﴿رَشَدًا﴾ (“right guidance”, Qur’an 18:10) is also striking from a psychological perspective. In a crisis, a person may seek escape at any price. The young men asked for sound direction, a way out that was right, a sound road, a choice they would not regret before Allah. Some people in distress will take a way out at the expense of their faith. A believer asks for a way out that is guided, even when a faster exit presents itself.
Pedagogical Outpourings
The verse gives young believers an unusual example to learn from. Young people are a force in every community, and that force can be drawn away by the adornments of the earth or lifted by faith. The Qur’an shows these young men making a choice of conviction and turning to prayer. What makes youth heroic here is knowing one’s Lord, holding firm under social pressure, and choosing the right course even when it runs against what everyone is used to.
Abu Zahrah says: “This was the first quality by which Allah described the Companions of the Cave. The second, which followed from the soundness of their nature, was that they turned to Allah Most High with hearts alive to His power and His miracle and aware that He, glorified and exalted is He, alone bestows favors and gives guidance. So they said ﴿رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“Our Lord, grant us from Yourself mercy and prepare for us from our affair right guidance”, Qur’an 18:10). They called on their Lord, saying ﴿رَبَّنَا﴾ (“Our Lord”, Qur’an 18:10), meaning You who created and fashioned us, purified our hearts, and delivered our souls from associating others with You and from its illusions. ﴿آتِنَا مِن لَّدُنكَ﴾ (“grant us from Yourself”, Qur’an 18:10) means from Your holy presence and Your inexhaustible treasuries. ﴿رَحْمَةً﴾ (“mercy”, Qur’an 18:10) means favor, enablement, an upright course of conduct, and the continuance of that enablement. The mercy of Allah encompasses everything and extends to the whole of a person’s life. The second petition arises from deep faith that guides them and sincere submission that fills the heart with light: ﴿وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“and prepare for us from our affair right guidance”, Qur’an 18:10). By ‘our affair’ they mean the faith they chose for themselves in the midst of idolatry. Sound direction is to perceive things aright without deviation. This straight course requires avoiding associationism and seeking the truth, keeping away from every pitfall of vice, setting out on the road of virtue and good character, and shunning excess and neglect, with truth as the motive and personal inclination set aside.” — Zahrat al-Tafasir, Muhammad Abu Zahrah.
This brings sound direction together with balance: without going too far, doing too much, or falling short. It is an important lesson for young people. Their energy can drive them to extremes or leave them absorbed by the crowd. Sound direction is to hold to truth knowingly, stay clear of worshipping anything alongside Allah and of following caprice, and pursue virtue without recklessness or surrender. We see that the Companions of the Cave were not reckless in their prayer for sound direction. We see that they did not give in from their departure from falsehood. This is youth in the Qur’anic sense: strength disciplined by guidance.
The verse teaches the believer an encompassing prayer for any crisis. Think how many moments in life call for it. Choosing a direction, leaving a corrupt environment, facing social pressure, starting a project, preparing to travel or marry, undertaking a call to faith, sitting an exam, falling ill, or fearing a trial. A person may not know each thing they need. It is enough to say ﴿رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“Our Lord, grant us from Yourself mercy and prepare for us from our affair right guidance”, Qur’an 18:10).
Ibn ʿAtiyyah says: “This prayer was for a matter in their worldly lives, as its words suggest. They were confident of right guidance and mercy in the Hereafter. Every believer should make this verse alone their prayer for worldly affairs, for it is sufficient. It is possible that ‘mercy’ refers to the Hereafter.” — Al-Muharrar al-Wajiz fi Tafsir al-Kitab al-ʿAziz, ʿAbd al-Haqq ibn Ghalib Ibn ʿAtiyyah.
Ibn ʿAtiyyah’s words “for it is sufficient” reveal the secret of this prayer. Whoever receives mercy directly from Allah and sound direction in their affairs, what have they lost? They may receive something other than all they had imagined, but receive what will put their life right. Every door may not open, but the door that leads in the right direction will. The hardship may not end at once, but the mercy that lets them pass through it can descend upon them.
Contemporary Outpourings
Trials now take many forms. A young person may have no idol-worshipping king pursuing them with orders to bow to an idol. They may face a whole culture demanding that they fit in, a screen throwing open doors to desire, a society mocking their religious practice, a workplace pressing them to compromise their values, companions drawing them in, or talk that dresses falsehood in the clothes of freedom and success. Here the believer needs a cave, which can be any space where faith can be kept safe: companions who help, a regular portion of Qur’an to steady them, and a decision that puts distance between them and the trial.
Al-Shaʿrawi says: “Awā comes from maʾwā, a place where a person takes shelter and seeks refuge. Al-fityah is the plural of fatā, a young man in the early part of life. Hopes rest on the young to shoulder burdens and take on every difficult affair. These were young believers who stood carrying the banner of their conviction and faith in the face of the might of unbelief and the tyranny of associating others with Allah. The youth in them was the vigor of faith and conviction.” — Khawatir al-Shaʿrawi, Muhammad Mutawalli al-Shaʿrawi.
This vigor of faith and conviction is what young people need today. Faith kept to the margins can give way at the first pressure, and anger alone offers little sound direction. We need young people who know when to stand, when to withdraw, when to pray, when to flee for their faith, and how to ask Allah for mercy and sound direction. The story of the Cave shows how a faith-shaped identity is made under pressure.
In times of widespread uncertainty, the young men’s prayer becomes one of the most important prayers for people at work, educators, fathers and mothers, students, and reformers. We need a particular and deeply felt mercy from Allah, reaching a place that human means cannot reach. We need sound direction in what we do. A wealth of choices does not of itself show us the way. Much information does not guarantee wisdom, nor does rapid movement guarantee that we are going in the right direction. Sound direction is for Allah to set your foot on the course that pleases Him and give your decision a good outcome.
As Fadlallah explained earlier, turning back to Allah brings the hope of steadiness and peace that help those engaged in this work to continue on their way.
Here is what the verse asks of us in practice. Anger at the trial, complaints about the pressure of the world, and curses at the darkness will take us only so far. We have to seek shelter in the cave of sound direction, ask Allah for mercy directly from Him, and continue with confidence, composure, and calmness of thought, before factional feeling, confusion, or scattered emotion can sweep us away.
The tenth verse of Surah Al-Kahf puts into the believer’s hand a key to deliverance in every hardship. Take the practical step that safeguards your faith, and then say from the depths of your need: ﴿رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾ (“Our Lord, grant us from Yourself mercy and prepare for us from our affair right guidance”, Qur’an 18:10). Whoever seeks refuge with Allah will be given shelter by Him, even in a cave. Whoever asks for mercy directly from Him will receive it from where they never reckoned. Whoever asks for sound direction need not be hurt by the narrowness of the place as long as the road to Allah is wide.
﴿إِذْ أَوَى الْفِتْيَةُ إِلَى الْكَهْفِ فَقَالُوا رَبَّنَا آتِنَا مِن لَّدُنكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا﴾
[Mention] when the youths retreated to the cave and said, "Our Lord, grant us from Yourself mercy and prepare for us from our affair right guidance." (Qur’an 18:10)