I heard Allah's Messenger (ﷺ) saying, "Three men from among those who were before you, set out together
till they reached a cave at night and entered it. A big rock rolled down the mountain and closed the
mouth of the cave. They said (to each other), Nothing could save you from this rock but to invoke
Allah by giving reference to the righteous deed which you have done (for Allah's sake only).' So, one
of them said, 'O Allah! I had old parents and I never provided my family (wife, children etc.) with
milk before them. One day, by chance I was delayed, and I came late (at night) while they had slept. I
milked the sheep for them and took the milk to them, but I found them sleeping. I disliked to provide
my family with the milk before them. I waited for them and the bowl of milk was in my hand and I
kept on waiting for them to get up till the day dawned. Then they got up and drank the milk. O Allah!
If I did that for Your Sake only, please relieve us from our critical situation caused by this rock.' So,
the rock shifted a little but they could not get out."
The Prophet (ﷺ) added, "The second man said, 'O Allah! I had a cousin who was the dearest of all people
to me and I wanted to have sexual relations with her but she refused. Later she had a hard time in a
famine year and she came to me and I gave her one-hundred-and-twenty Dinars on the condition that
she would not resist my desire, and she agreed. When I was about to fulfill my desire, she said: It is
illegal for you to outrage my chastity except by legitimate marriage. So, I thought it a sin to have
sexual intercourse with her and left her though she was the dearest of all the people to me, and also I
left the gold I had given her. O Allah! If I did that for Your Sake only, please relieve us from the
present calamity.' So, the rock shifted a little more but still they could not get out from there."
The Prophet (ﷺ) added, "Then the third man said, 'O Allah! I employed few laborers and I paid them their
wages with the exception of one man who did not take his wages and went away. I invested his wages
and I got much property thereby. (Then after some time) he came and said to me: O Allah's slave! Pay
me my wages. I said to him: All the camels, cows, sheep and slaves you see, are yours. He said: O
Allah's slave! Don't mock at me. I said: I am not mocking at you. So, he took all the herd and drove
them away and left nothing. O Allah! If I did that for Your Sake only, please relieve us from the
present suffering.' So, that rock shifted completely and they got out walking.
Narrated by Narrated `Abdullah bin `Umar:
Context
In this narration, Abdullah bin Umar recounts a story of three men who sought refuge in a cave and were trapped by a rock. They prayed to Allah, invoking their good deeds as a means of seeking help. This story illustrates the importance of sincere actions and the belief that Allah rewards those who act righteously.
Modern Application
In contemporary life, this hadith serves as a reminder to engage in good deeds and to maintain sincerity in our actions. It encourages individuals to rely on their faith during difficult times, knowing that righteous actions can lead to relief.
Topics
This hadith is tagged with Reward of Deeds and Wages and Labor because it emphasizes the significance of good deeds and their potential to bring about positive outcomes.
And [He also forgave] the three who were left behind [and regretted their error] to the point that the earth closed in on them in spite of its vastness and their souls confined them and they were certain that there is no refuge from Allah except in Him. Then He turned to them so they could repent. Indeed, Allah is the Accepting of repentance, the Merciful.
But among the bedouins are some who believe in Allah and the Last Day and consider what they spend as means of nearness to Allah and of [obtaining] invocations of the Messenger. Unquestionably, it is a means of nearness for them. Allah will admit them to His mercy. Indeed, Allah is Forgiving and Merciful.
It is that of which Allah gives good tidings to His servants who believe and do righteous deeds. Say, [O Muhammad], "I do not ask you for this message any payment [but] only good will through kinship." And whoever commits a good deed - We will increase for him good therein. Indeed, Allah is Forgiving and Appreciative.
Those who remained behind of the bedouins will say to you, "Our properties and our families occupied us, so ask forgiveness for us." They say with their tongues what is not within their hearts. Say, "Then who could prevent Allah at all if He intended for you harm or intended for you benefit? Rather, ever is Allah, with what you do, Acquainted.