Surah Al-Kahf

18:12

ثُمَّ بَعَثْنَٰهُمْ لِنَعْلَمَ أَىُّ ٱلْحِزْبَيْنِ أَحْصَىٰ لِمَا لَبِثُوٓا۟ أَمَدًۭا

Then We awakened them that We might show which of the two factions was most precise in calculating what [extent] they had remained in time.

Tafsir 18:12

Then after their lengthy sleep I woke them up to demonstrate which of the two groups disputing their duration of stay in the cave knows this duration best.