Al-Kahf 25

وَلَبِثُوا۟ فِى كَهْفِهِمْ ثَلَٰثَ مِا۟ئَةٍ سِنِينَ وَٱزْدَادُوا۟ تِسْعًا ﴿٢٥﴾

Walabithoo fee kahfihim thalatha miatin sineena waizdadoo tisAAan

And they stayed in their Cave three hundred (solar) years, and add nine (for lunar years). The Noble Quran