Dua of the People of the Cave

3 Things to Know About Mercy and Guidance

A Muslim man in a sheltered stone alcove with the Quran open, an opening scene for the Dua of the People of the Cave.

When a group of young believers fled the persecution of their people to protect their faith, they took refuge in a cave and turned to Allah with a beautiful prayer for mercy and right guidance. The People of the Cave, whose story Allah tells in the Quran, asked Him to grant them mercy from Himself and to prepare for them right guidance in their affair, and Allah protected them and guided their way. The dua of the People of the Cave is this prayer, a turning to Allah for mercy and guidance in the face of hardship.

رَبَّنَا آتِنَا مِنْ لَدُنْكَ رَحْمَةً وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا

Rabbana atina min ladunka rahmatan wa hayyi’ lana min amrina rashada.

“Our Lord, grant us mercy from Yourself, and prepare for us right guidance in our affair.”

Quran | 18:10

The story of the People of the Cave is a beautiful lesson in holding to faith amid trial and trusting Allah to make a way out, for He answered their prayer and cared for them. This guide explains the dua of the People of the Cave and three things to know about mercy and guidance, so that the believer may turn to Allah when their faith is tested or their path is unclear, ask Him for mercy from Himself and right guidance in their affair, and remember that the One who sheltered the young believers in the cave is able to shelter and guide all who turn to Him.

The Prayer of the Young Believers

When a group of young believers refused to abandon their faith and fled the persecution of their people, they took refuge in a cave and turned to Allah with the beautiful prayer quoted above, asking Him to grant them mercy from Himself and to prepare for them right guidance in their affair. They placed their safety and their path entirely in the hands of Allah, and He answered them, sheltering them in the cave and guiding their way. This prayer teaches the believer to seek mercy and guidance from Allah in every hardship.

A still-life of an open Quran resting on stone in a sheltered alcove, illustrating the Dua of the People of the Cave.

The two things the young believers asked for, mercy from Allah and right guidance in their affair, are exactly what the believer needs when their faith is tested or their path is unclear. They did not ask for a particular outcome, but for the mercy of Allah and His guidance to the right course, trusting Him to choose what was best. The dua of the People of the Cave reflects this trust, turning to Allah for mercy and guidance and leaving the affair in His wise and caring hands.

Three Things to Know About Mercy and Guidance

Mercy and guidance are sought from Allah in hardship. These three things help the believer turn to Him.

  1. Ask Allah for mercy from Himself and right guidance in your affair, as the young believers did.
  2. Turn to Allah when your faith is tested or your path is unclear, trusting Him to make a way.
  3. Remember that the One who sheltered the People of the Cave shelters all who turn to Him.

وَهَيِّئْ لَنَا مِنْ أَمْرِنَا رَشَدًا

Wa hayyi’ lana min amrina rashada

Prepare for us right guidance in our affair

Quran | 18:10

Turning to Allah in Hardship

The dua of the People of the Cave is a turning to Allah for mercy and right guidance in the face of hardship. By asking Allah for mercy from Himself and guidance in your affair, turning to Him when faith is tested, and remembering that He sheltered the young believers, the believer seeks His help in the best way. The story of the People of the Cave shows that Allah answers those who hold to their faith amid trial, and the believer who asks Him for mercy and guidance places their affair in His wise and caring hands.

A Muslim man seen from behind in a sheltered stone alcove with the Quran open, reflecting the Dua of the People of the Cave.

This supplication pairs naturally with the dua during difficulty and the dua during uncertainty. Together they help the believer seek the mercy and guidance of Allah in every trial.

The young believers in the cave asked Allah for mercy and right guidance, and He sheltered them. Learn the Quranic duas with us on YouTube, where the supplications are recited aloud, on Threads for a reminder to seek mercy and guidance, and on LinkedIn where readers share how they hold to faith in hardship.

Frequently Asked Questions

What is the dua of the People of the Cave?

The dua of the People of the Cave is the prayer of the young believers from the Quran: Rabbana atina min ladunka rahmatan wa hayyi lana min amrina rashada, our Lord grant us mercy from Yourself, and prepare for us right guidance in our affair.

Who were the People of the Cave?

They were a group of young believers who refused to abandon their faith and fled the persecution of their people, taking refuge in a cave. Allah answered their prayer, sheltered them, and tells their beautiful story in the Quran.

Why is this dua significant?

It teaches the believer to ask Allah for mercy and right guidance when their faith is tested or their path is unclear, rather than asking for a particular outcome. The young believers trusted Allah to choose what was best, and He cared for them.

When should I recite this dua?

The believer may recite it when their faith is tested, when facing persecution or hardship, or when their path is unclear and they seek the guidance of Allah. It asks for mercy and right guidance in any difficult affair.

What does it teach about trusting Allah?

It teaches the believer to place their safety and their path in the hands of Allah, asking for His mercy and guidance and leaving the outcome to His wisdom. The People of the Cave trusted Allah completely, and He sheltered and guided them.

Where is the story of the cave found?

The story of the People of the Cave is told in Surah al-Kahf, the eighteenth chapter of the Quran. It is among the beautiful stories Allah relates as a lesson in holding to faith and trusting Him in trial.

Share This Dua:
Scroll to Top