Surah Al-Kahf 18:65
فَوَجَدَا عَبْدًا مِّنْ عِبَادِنَآ ءَاتَيْنَـٰهُ رَحْمَةً مِّنْ عِندِنَا وَعَلَّمْنَـٰهُ مِن لَّدُنَّا عِلْمًا
And they found a servant from among Our servants [i.e., al-Khiḍr] to whom We had given mercy from Us and had taught him from Us a [certain] knowledge.
Translation: Saheeh International
Tafsir
So there they found one of Our servants namely al-Khidr to whom We had given mercy from Us — according to one opinion this mercy was prophethood; according to another it was authority and this latter is the opinion of the majority of scholars — and We had taught him knowledge from Us ‘ilman is the second direct object …
Excerpt from Tafsir al-Jalalayn, commentary on 18:65, via Quran.com. The reader has the full commentary and 9 more tafsirs.