On seeing them you would fancy them to be awake though they were asleep; and We caused them to turn their sides to their right and to their left, and their dog sat stretching out its forelegs on the threshold of the Cave. Had you looked upon them you would have certainly fled away from them, their sight filling you with terror. 18 And so, [in the course of time,] We awakened them; and they began to ask one another [as to what had happened to them]. One of them asked: "How long have you remained thus?" [The others] answered: "We have remained thus a day, or part of a day." Said they [who were endowed with deeper insight]: "Your Sustainer knows best how long you have thus remained. Let, then, one of you go with these silver coins to the town, and let him find out what food is purest there, and bring you thereof [some] provisions. But let him behave with great care and by no means make anyone aware of you: 19 For, if they appear in front of you, they will stone you to death or restore you to their religion. Then you will never prosper' 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) say: (They are) three, the fourth of them being their dog; and (others) say: Five, the sixth of them being their dog, making conjectures at what is unknown; and (others yet) say: Seven, and the eighth of them is their dog. Say: My Lord best knows their number, none knows them but a few; therefore contend not in the matter of them but with an outward contention, and do not question concerning them any of them. 22