ثُمَّ بَعَثۡنٰهُمۡ لِنَعۡلَمَ اَىُّ الۡحِزۡبَيۡنِ اَحۡصٰى لِمَا لَبِثُوۡۤا اَمَدًا
Then We raised them up to see which of the two groups would most rightly calculate (the time) that they stayed (in the cave).
ثُمَّ بَعَثۡنٰهُمۡ لِنَعۡلَمَ اَىُّ الۡحِزۡبَيۡنِ اَحۡصٰى لِمَا لَبِثُوۡۤا اَمَدًا
Then We raised them up to see which of the two groups would most rightly calculate (the time) that they stayed (in the cave).