And you might think them awake while they were asleep and We turned them about to the right and to the left, while their dog (lay) outstretching its paws at the entrance; if you looked at them you would certainly turn back from them in flight, and you would certainly be filled with awe because of them. 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 surely if they prevail against you they would stone you to death or force you back to their religion, and then you will never succeed. 20 Thus did We make their case known to the people of the city so that they might know that Allah's promise is true, and that there is absolutely no doubt that the Hour will come to pass. But instead of giving thought to this, they disputed with one another concerning the People of the Cave, some saying: "Build a wall over them. Their Lord alone knows best about them." But those who prevailed over their affairs said: "We shall build a place of worship over them." 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