And thus We made their case known to the people, that they might know that the Promise of Allah is true, and that there can be no doubt about the Hour. (Remember) when they (the people of the city) disputed among themselves about their case, they said:"Construct a building over them, their Lord knows best about them," (then) those who won their point said (most probably the disbelievers):"We verily shall build a place of worship over them."
(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.
And never say of anything,"I shall do such and such thing tomorrow."
Except (with the saying),"If Allah will!" And remember your Lord when you forget and say:"It may be that my Lord guides me unto a nearer way of truth than this."
And they stayed in their Cave three hundred (solar) years, and add nine (for lunar years).
Say:"Allah knows best how long they stayed. With Him is (the knowledge of) the unseen of the heavens and the earth. How clearly He sees, and hears (everything)! They have no Wali (Helper, Disposer of affairs, Protector, etc.) other than Him, and He makes none to share in His Decision and His Rule."
And recite what has been revealed to you (O Muhammad SAW) of the Book (the Quran) of your Lord (i.e. recite it, understand and follow its teachings and act on its orders and preach it to men). None can change His Words, and none will you find as a refuge other than Him.
And keep yourself (O Muhammad SAW) patiently with those who call on their Lord (i.e. your companions who remember their Lord with glorification, praising in prayers, etc., and other righteous deeds, etc.) morning and afternoon, seeking His Face, and let not your eyes overlook them, desiring the pomp and glitter of the life of the world; and obey not him whose heart We have made heedless of Our Remembrance, one who follows his own lusts and whose affair (deeds) has been lost.
And say:"The truth is from your Lord." Then whosoever wills, let him believe, and whosoever wills, let him disbelieve. Verily, We have prepared for the Zalimun (polytheists and wrong-doers, etc.), a Fire whose walls will be surrounding them (disbelievers in the Oneness of Allah). And if they ask for help (relief, water, etc.) they will be granted water like boiling oil, that will scald their faces. Terrible the drink, and an evil Murtafaqa (dwelling, resting place, etc.)!
Verily! As for those who believe and do righteous deeds, certainly! We shall not suffer to be lost the reward of anyone who does his (righteous) deeds in the most perfect manner.
These! For them will be"Adn (Eden) Paradise (everlasting Gardens); wherein rivers flow underneath them, therein they will be adorned with bracelets of gold, and they will wear green garments of fine and thick silk. They will recline therein on raised thrones. How good is the reward, and what an excellent Murtafaqa (dwelling, resting place, etc.)!
And put forward to them the example of two men; unto one of them We had given two gardens of grapes, and We had surrounded both with date-palms; and had put between them green crops (cultivated fields etc.).
Each of those two gardens brought forth its produce, and failed not in the least therein, and We caused a river to gush forth in the midst of them.
And he had property (or fruit) and he said to his companion, in the course of mutual talk: I am more than you in wealth and stronger in respect of men." [See Tafsir Qurtubi, Vol. 10, Page 403].
And he went into his garden while in a state (of pride and disbelief) unjust to himself. He said:"I think not that this will ever perish.
"And I think not the Hour will ever come, and if indeed I am brought back to my Lord, (on the Day of Resurrection), I surely shall find better than this when I return to Him."
His companion said to him, during the talk with him:"Do you disbelieve in Him Who created you out of dust (i.e. your father Adam), then out of Nutfah (mixed semen drops of male and female discharge), then fashioned you into a man?
"But as for my part (I believe) that He is Allah, my Lord and none shall I associate as partner with my Lord.
It was better for you to say, when you entered your garden:"That which Allah wills (will come to pass)! There is no power but with Allah". If you see me less than you in wealth, and children.
"It may be that my Lord will give me something better than your garden, and will send on it Husban (torment, bolt, etc.) from the sky, then it will be a slippery earth.