Surah Al-Kahf

18:11

فَضَرَبْنَا عَلَىٰٓ ءَاذَانِهِمْ فِى ٱلْكَهْفِ سِنِينَ عَدَدًۭا

So We cast [a cover of sleep] over their ears within the cave for a number of years.

Tafsir 18:11

Then after they went and took refuge in the cave, I put a barrier on their ears from hearing, and I put them to sleep for many years.