وَإِذْ قَالَ مُوسَىٰ لِفَتَىٰهُ لَآ أَبْرَحُ حَتَّىٰٓ أَبْلُغَ مَجْمَعَ ٱلْبَحْرَيْنِ أَوْ أَمْضِىَ حُقُبًا ﴿60﴾
60 And when Moses said unto his servant: I will not give up until I reach the point where the two rivers meet, though I march on for ages.
Al-Kahf 18:60 on Quran.com · Pickthall’s translation
Seeking knowledge carries great reward in Islam. The Prophet ﷺ said that those in the heavens and the earth, even the fish in the depths of the water, ask forgiveness for the person of knowledge (Sunan Abi Dawud 3641, graded sahih by al-Albani). Knowledge can take you to Paradise. But knowledge is also dangerous, and the story of Musa and al-Khidr in Surah al-Kahf shows why. A little knowledge is the most dangerous kind: when you think you know something that you do not, it can do more harm than good. And it does not matter how much you learn if you never put it into practice.
The story begins with a question about knowledge. The Prophet ﷺ said that Musa was once asked who was the most knowledgeable of people, and he answered that he was. Allah told him that a servant of His at the meeting of the two seas knew more (Sahih al-Bukhari 122). That servant was al-Khidr, one of Our servants, to whom We had given mercy from Us and taught knowledge from Our presence (al-Kahf 18:65). Most scholars hold that he was not a prophet, but a man given special knowledge by Allah.
Look at how Musa responds. He is a prophet, one of the greatest, and he does not wait for the knowledge to come to him. He sets out: I will not stop until I reach the meeting of the two seas, even if I travel for ages (al-Kahf 18:60). When he finds the man, he asks like a student: may I follow you, so that you teach me (al-Kahf 18:66). Knowledge is sought. You travel for it and you sweat for it. Someone who says for years that they want to learn Arabic, but never takes the first step, is still standing on the same spot.
Then there is what knowledge can do to you. The Prophet ﷺ described, among the first people judged on the Day of Resurrection, a man who learned knowledge, taught it and recited the Quran. He will say he did it for Allah. He will be told that he did it so people would call him a scholar and a reciter, and that was said (Sahih Muslim 1905a). The learning was real. The intention ruined it.
The Quran blames earlier peoples who studied their scripture closely, in great detail, and still fell into envy, arrogance and backbiting, changing its words and twisting its meaning. Detail is not the same as obedience. What you know only helps you when it changes what you do, and when you do it for Allah rather than for the name it brings. So ask yourself, with each thing you learn: has it made me more humble, or only more sure of myself?
Today the test has a new form. Once, to narrate from Sahih al-Bukhari, a student would travel hundreds of miles to Bukhara, sit with a narrator for weeks, copy the whole book and ask permission to pass it on. Now any hadith is a tap away. That brings a new danger: the wrong people quoting the right sources for the wrong reasons. So learn the way Musa learned: go out for it, follow someone who knows more, stay humble enough to hear you will not be able to bear with me (al-Kahf 18:67), and act on what you learn. If Arabic is your first step, start with how to learn Arabic.