They stayed in their Cave for three hundred years and added nine.
Say: "Allah knows best how long they stayed. The Unseen of the heavens and the earth belongs to Him. How perfectly He sees, how well He hears! They have no protector apart from Him. Nor does He share His rule with anyone." (Surat al-Kahf: 25-26)