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 In the course of time, We raised them up again so that they might question one another. One of them asked, "How long have you stayed [here]?" They said, "We have stayed a day, or part of a day." But others said, "Your Lord knows best how long you have stayed here. Let one of you go then with these silver coins to the town, and let him find out what food is purest there, and bring you back a supply of it. Let him conduct himself with caution and not disclose your whereabouts to anyone: 19 Verily they, if they come to know of you, would stone you or make you revert to their faith, and lo! then ye will never fare well. 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 (Some) say they were three, the dog being the fourth among them; (others) say they were five, the dog being the sixth, guessing at the unseen; (yet others) say they were seven, the dog being the eighth. Say (O Muhammad SAW): "My Lord knows best their number; none knows them but a few." So debate not (about their number, etc.) except with the clear proof (which We have revealed to you). And consult not any of them (people of the Scripture, Jews and Christians) about (the affair of) the people of the Cave. 22