And you would have thought them awake, while they were asleep. And We turned them on their right and on their left sides, and their dog stretching forth his two forelegs at the entrance [of the Cave or in the space near to the entrance of the Cave (as a guard at the gate)]. Had you looked at them, you would certainly have turned back from them in flight, and would certainly have been filled with awe of them. 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 If they come to know of you they will stone you to death, or force you to go back to their creed; then you will never succeed." 20 And similarly, We caused them to be found that they [who found them] would know that the promise of Allah is truth and that of the Hour there is no doubt. [That was] when they disputed among themselves about their affair and [then] said, "Construct over them a structure. Their Lord is most knowing about them." Said those who prevailed in the matter, "We will surely take [for ourselves] over them a masjid." 21 (They will say, 'Three; and 'their dog was the fourth of them.' They will say, 'Five; and their dog was the sixth of them, guessing at the Unseen. They will say, 'Seven; and their dog was the eighth of them.' Say: 'My Lord knows very well their number, and none knows them, except a few.' So do not dispute with them, except in outward disputation, and ask not any of them for a pronouncement on them. 22