You would have thought they were awake, though they lay asleep. We turned them over, to the right and the left, while their dog lay at the cave's entrance with legs outstretched. Had you looked down and seen them, you would have surely turned your back and fled in terror. 18 Likewise, We roused them in a miraculous way that they might question one another. One of them asked: "How long did you remain (in this state)?" The others said: "We remained so for a day or part of a day." Then they said: "Your Lord knows better how long we remained in this state. Now send one of you to the city with this coin of yours and let him see who has the best food, and let him buy some provisions from there. Let him be cautious and not inform anyone of our whereabouts. 19 for, behold, if they should come to know of you, they might stone you to death or force you back to their faith - in which case you would never attain to any good!" 20 And likewise We caused their affair to be lit upon that they might know that the promise of Allah is true, and that the Hour - there is no doubt thereof, Recall what time they were disputing among themselves regarding their affair, and then they said: build over them a building - their Lord is the Best Knower about them - then those who prevailed in their affair said: surely we will raise over them a place of worship. 21 Some will say concerning them: "They were three and their dog, the fourth"; and some will say: "They were five, and their dog, the sixth" -- all this being merely guesswork; and still others will say: "They were seven, and their dog, the eighth." Say: "My Lord knows their number best. Only a few know their correct number. So do not dispute concerning their number, but stick to what is evident, and do not question anyone about them." 22