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 Such (being their state), we raised them up (from sleep), that they might question each other. Said one of them, "How long have ye stayed (here)?" They said, "We have stayed (perhaps) a day, or part of a day." (At length) they (all) said, "Allah (alone) knows best how long ye have stayed here.... Now send ye then one of you with this money of yours to the town: let him find out which is the best food (to be had) and bring some to you, that (ye may) satisfy your hunger therewith: And let him behave with care and courtesy, and let him not inform any one about you. 19 Indeed, if they come to know of you, they will stone you or return you to their religion. And never would you succeed, then - ever." 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: They were three, their dog the fourth, and (some) say: Five, their dog the sixth, guessing at random; and (some) say: Seven, and their dog the eighth. Say (O Muhammad): My Lord is Best Aware of their number. None knoweth them save a few. So contend not concerning them except with an outward contending, and ask not any of them to pronounce concerning them. 22