Al Kahf Ayah 12
ثُمَّ بَعَثْنَـٰهُمْ لِنَعْلَمَ أَىُّ ٱلْحِزْبَيْنِ أَحْصَىٰ لِمَا لَبِثُوٓاْ أَمَدًا ١٢
then We raised them so We may show which of the two groups would make a better estimation of the length of their stay.
Read quran online for free with translation