Sahih al-Bukhari 2272
Abul Yaman narrated to us that Shu'aib told us. He narrated from Zuhri. (Zuhri said:) Salim bin Abdullah told me that Hazrat Abdullah bin Umar (ra) said: I heard the Messenger of Allah (saw). He (saw) used to say: “Of the people who were before you, three men set out on a journey, until they entered a cave to spend the night. A great rock of the mountain fell from above and shut them in the cave. Thereupon they began to say: Nothing will save us from this rock, unless you pray to Allah invoking your good deeds (then this difficulty may be resolved). Then one of them said: O my Allah, my parents were very old, and I used to give milk to no one before them, neither to my wife and children nor to my servants. One day I went far away in search of something and returned in the evening at a time when they had gone to sleep. I milked their evening drink of milk for them but found them asleep, and I did not like to give milk to my family or to slave-girl or slave before them. I waited, the bowl in my hand, waiting for them to wake, until when it was full morning and both of them woke up, they drank the milk. O my Allah, if I did this deed for Your pleasure, then remove from us the distress we are in because of this rock. Thereupon the rock moved a little, but they could not get out of the cave.” The Prophet (saw) said: “The second said: O my Allah, I had a cousin, the daughter of my paternal uncle, who was very dear to me. I wanted to seduce her, but she kept avoiding me, until she was struck by a year of famine and came to me. I gave her one hundred and twenty gold coins on condition that she meet me in private. She did so, until when she was fully in my power, she began to say: I do not make it lawful for you to break this seal without its rightful claim. Thereupon I considered it a sin to have intercourse with her and moved away from her, although she was dearer to me than all people, and I also left with her the gold coins I had given her. O my Allah, if I did this deed for Your pleasure, then remove from us the distress we are in. Thereupon the rock moved a little more, but still they were not able to get out of the cave.” The Prophet (saw) said: “The third said: O my Allah, I employed some labourers and gave them their wages, except one man who went away leaving his wage. I put his wage to work until much wealth came from it. Then after some time he came to me and said: O servant of Allah, give me my wage. I said to him: All these camels, cows, goats and slaves that you see are your wage. He said: O servant of Allah, do not mock me. I said: I am not mocking you. Then he took all the things, drove them away and left nothing of it. O my Allah, if I did this deed for Your pleasure, then remove from us the distress we are in. Thereupon the rock moved away (from them even further), until they came out and went on their way.”
AI-translated by Islam-Today