Surah Al-Kahf

18:65

فَوَجَدَا عَبْدًۭا مِّنْ عِبَادِنَآ ءَاتَيْنَٰهُ رَحْمَةًۭ مِّنْ عِندِنَا وَعَلَّمْنَٰهُ مِن لَّدُنَّا عِلْمًۭا

And they found a servant from among Our servants to whom we had given mercy from us and had taught him from Us a [certain] knowledge.

Tafsir 18:65

When they reached the place at which the fish was lost, they found there one of My righteous servants (who was Khidr peace be upon him), to whom I had given mercy, and to whom I had taught knowledge that people were not aware of, which is what is contained in this story.