Al-Khidr – the Green One

  • Al-Khidr

To be very simple and direct, Sayyidina Al-Khidr is the patron saint by necessity of all those who go directly to God without intermediaries, “The Way of the Private Face”.

Khidr is in Islam what Elijah represents to the Jewish peoples; indeed in the Lebanon and other areas they are regarded as the same personage…and Ibn ‘Arabi tells us that “Elijah (Elias) is Idris (Enoch) who was a messenger before Noah, and whom God elevated to a high place.” (Fusus al-Hikam, Bulent Rauf’s translation, “Of the Wisdom of Intimacy in the Word of Elijah”.) …an immortal  spiritual teacher who operates in the unseen worlds beyond the condition of normal life, the ever living archetype of direct Divine inspiration.

Identifications with St George and St Michael are also well known, with many shrines to Khidr being sacred to all the Abrahamic religions, and ‘unorthodox’ groups like the Nusairi. Usually identified with one of Alexander the Great’s officers who drank from the water of life, he is described in the Qur’an as “one of Our servants, on whom We had bestowed Mercy from Ourselves and whom We had taught knowledge from Our own Presence”. (Qur’an yusufali translation/ 18:65).

Al-Khidr is the initiator into this knowledge of those ready to receive it. The appearance of Al-Khidr is always significant. He is the initiator into the esoteric mysteries, the mysterious immortal guide who takes on the education of saints.

There are innumerable accounts of this immortal being’s meetings with figures like the Sheikh al-Akbar, the greatest sheikh, Doctor Maximus,  Muhyiddin Ibn ‘Arabi, who encountered him three times, the first when he openly contradicted Al-Uryani, one of his teachers in Andalusia…Al-Khidr appeared and told him not to contradict his sheikh; interestingly he didn’t however say that Ibn ‘Arabi’s words were wrong.

Later in the bay of Tunis aboard a ship, a bright full-moon lit night…as he looked out over the sea, he saw Khidr walking over the water towards him. On reaching the boat, Khidr stood on the sea and showed that his feet were still dry…”after that he conversed with me in the language that is special to him; then he took his leave and went to a lighthouse 2 or 3 miles away. It took him only 2 or 3 paces to cover this distance. I could hear him on top of the lighthouse, glorifying God. Sometimes he went to visit Sheikh Ibn Khamis al-Kinani.” (Ibn ‘Arabi, Futuhat al-Makkiyya. 1:186 & 3:182. Chapter 25 of the Futuhat is devoted to Al-Khidr).

On the third occasion Ibn ‘Arabi went to prayers at a mosque, with a man who denied the possibility of miracles…Ibn ‘Arabi pointed out to this man that Al-Khidr was praying with them. At the end of the normal prayers Khidr stretched out his prayer carpet 7 cubits above the ground, and commenced the supererogatory prayers. “When Khidr finished his prayers I went to him and recited some verses to him. He told me “I only did what I did for the sake of that denier over there”, pointing to my travelling companion…”that he might know that God does whatsoever He wishes with whomsoever He wishes.”

There is a famous Qur’anic Sura, Al-Kahf, in which the story of Moses’ meeting with Al-Khidr (never named as Al-Khidr, but accepted to be him universally in Islam) is recounted. In this story to be very brief, Moses asks to accompany Al-Khidr…Al-Khidr permits this but says that if Moses questions his actions he will have to leave him. A series of seemingly bizarre incidents follow; Moses is not able to refrain from questioning these actions (perhaps forgetting that he himself had killed a man in Egypt!).

Al-Khidr explains very simply why he acted as he did…The MEANING of this   is expressed also in this Sura; Khidr is described as “one of our faithful servants, to whom we have given the Ilm-i LadunniGod’s Private , Secret, Knowledge of Himself. What he brings is outside the comprehension of prophets and contained in no prophetic message…

The Green One’s way is mysterious but full of a strange lightening and ascension to a different state of consciousness; all who he comes close to are secretly, invisibly, completely esoterically, transformed in their interior consciousness…I would not talk about the “Green One” behind his back…so I ask him for permission … in the religion called Islam and in much older Eastern esotericism, the “Green One” represents, is, the embodiment of the secret knowledge, intrinsic knowledge through BEING, not prophetic knowledge, as the story in the Qur’an (Sura Kaf) of Musa (Moses) and Al-Khidr makes absolutely clear.

Its interesting that the Qur’an itself points to a higher knowledge completely outside the Qur’an…or the prophetic knowledge, the Ilm-i-Ladunni, “God’s Private Knowledge of Himself”, that Al Khidr is the guardian, keeper and dispenser of…the Qur’an says that “even the bees have this Knowledge” which we may understand as knowledge through BEING, intrinsic knowledge through what we are, not words. He is the guide of all those who seek closeness to The Real, without intermediary, directly; “The Way of the Private Face”.

Imam Ahmad recorded that Abu Hurayrah, and ‘Abdur-Razzaq, may Allah be pleased with them, said that the Prophet said concerning Al-Khidr “He was called Al-Khidr because he sat on a barren patch of withered vegetation that turned white, then it turned green (Khadra’) beneath him.”

  • Being

There are no hierarchies in Being. Being is Being. The ‘I am’ in all things is the same ‘I am’. Nothing ever left the Reality…there was no ‘creation’ outside the Divine…all takes place as a single thing, is a singularity divisible only in thought, but never in actuality.

What interests  the seeker personally is more primordial… in the direct words of Christ in “The Gospel of Thomas” (Split a piece of wood and I am there”; “Master, when will the Kingdom of Heaven come?…”Its all around you. Its just you are too stupid to see it”).

In a state of Pure Awareness can YOU SEE any ‘hierarchies’? Can you see any limits anywhere? Does your Heart or your Awareness end somewhere? Where? Hierarchical systems  are provisional means of explanation. But when they become ‘objects of belief’ they “limit God” and cause terrible problems, through a lack of clarity, one-pointedness.

Gnosis  means to go beyond all opinion and all belief into direct perception, ma’rifet, and pure faith, Imam. Mevlana said “ I lost all the religions..and then I found my religion”…but one is a pre-condition for the other. The Sura of Purity in the Qur’an says “In the Name of God, The Most Merciful, The Most Compassionate, Say He God is One, Sufficient unto Himself. Nothing came forth from Him and nothing devolved from Him. Say He God is One.” Muhammed explictly said 3 sayings of this verse were equivalent to reciting the entire Qur’an.

Lets look at Ramana Maharshi, talking from The Real…”Haqqiqat” in Arabic…“Talking of the “witness” should not lead to the idea that there is a witness and something else apart from him that he is witnessing. The “witness” really means the light that illumines the seer, the seen and the process of seeing”. “You are the constant illumination that lights up both the experiences and the void”. “You yourself are the illumination”. “It is the ego that rises as ‘I’. That from which it arises is the Self”. “You are awareness. Awareness is another name for you”.“To cease to identify yourself with the mind is all that is required.”

“Brahman exists as “I am”, in every thing and every being”.

‎    “Hierarchies” are an artifact of trying to approach Being/ The Real with the Relative …rather than through the flame of that Being as our own Reality. A hierarchic understanding can have some useful aspects as a means of explanation if the primordial comprehension of Unity has first been established, but to approach the Absolute through the Relative is foolishness. One major apparent paradox in Ibn ‘Arabi is that The Absolute is completely unapproachable from the contingent, but is our Reality…Yunus Emre “I wrapped myself in flesh and bones and called myself ‘Yunus”.”

Classically Sufism is a process of ascent from ‘Hearing about God’ (which may include maps of consciousness, hierarchical means of explanation of ‘creation’) to ‘Seeing God’ to Realisation in direct experience. The higher Spiritual stations, far beyond simple ‘Union with God’ include ‘The Spiritual Station of No Station’ (Maqam la Maqam) …and an erasure of all so-called knowledges in order to stand unaffectedly, without any pretence, naked, in the Presence…

The attempts to conflate direct perception with hierarchical concepts simply confuses the clarity of “There is no higher or lower in Being” (Ramana Maharshi). Ibn ‘Arabi’s Sufism is radical even in a Sufi context, for an emphasis which is remorselessly exacting on the absolute singularity of Being. It is necessary to cut through illusion and it is our responsibility to do so at all costs. It is a common human illness to be incapable except through often years of learnt discipline, of distingushing imagination, projection, wish fulfillment and other extrapolations and interpretations from what we actually experience through mystical intuition.

In Sufism actually we usually take the terms “God” (Allah), “Truth/The Truth” (Haqq, Haqqiqat), “Reality/ The Real” simply as different verbal constructions from slightly different points of view OF THE SAME REALITY.

We could provide many references for this … The Kernel of the Kernel for example (page 32) “This Reality in question is called in Arabic “wujud” (Existence), in Turkish “varlik” (Existence), in Persian “hati” (Existence), but in Reality, this Existence is transcendent beyond all these names. What is true is that to explain this they use the terms wujud (being), ashq (love), nür (light), nafs (self), or rahman (clemence), but that which is meant by all of these is the name of the One Being which is Haqq (Reality).” Paradoxically to Western intellectualised systems where verbal formulations proliferate, in Sufism we can usually find an increasing simplification of apparent complex terminology as we realise SOMETHING REAL WHİCH HAS NO NAME is what all the various systems are describing, and giving us a taste of.

The Way that can be Named is not the Supreme Way” Lao Tse.

In the beginning of involvement in ‘Sufism’ (‘Gnosis’ might be a clearer term, direct knowledge through Being), often we are studying many things, complex systems which are quite new and different to what we knew before, Meditations, outward Zikr, Prayers…all this is a preparation and corresponds actually to Seriat /Shariah, as Self-Purification and absorption of a useful (for later stages of Ma’rifet and Haqqiqat) new world-view. It’s a preparation of the place. Later, in the stages of verfication and self-actualisation of these knowledges things become much more simple. We can only consistently remember in ordinary life a short sentence or phrase…all the complexities we met in study are largely useless to us, because though we may think we learnt them, in fact we cannot remember them in daily life, minute by minute.

The degrees of Fana (Fana of Actions, Attributes, and Essence) which involved studies for years very often, become reduced in the method expounded by Metin Bobaroglu to simply trying to accord with His Goodness, His Justice, His Beauty; to act with a general principle, undefined, of being ‘Good’, To acquire the quality of being ‘Just’, to perceive Beauty consciously and intentionally.

Hundreds of pages of explanations are reduced to a simple necessary action. The Bektashi say “Control your hand, tongue and sexuality“…again a simple initiation into the reality of all these words…first we must stop lying to ourselves and others. Then many internal devils will fall…because they all depend upon our unconsciousness, our willfully keeping within us a ‘grey area’ of self-justified lying.

If we see someone who claims or seems interested in ‘Sufism’. and we see that still they are lying to themselves and others, we know certainly that they didn’t even begin the path.

In Gurdjieff there is the concept of “putting oneself in the position of the result“. Not by any right, but with the utmost humility. Because theres no other way to the maturity and process of perfectibility of Mankind…the Insan-i-Kamil, than beginning to become moment by moment with no guarantee, with failure after failure, that Reality of being human.

Its obvious why Shams-i-Tabrizi felt impelled to throw Mevlana’s books into a well…reading is not enough. The Truth FOR US is not in any book, only in ourselves, the “Book of Ourself”. And we have to begin this process, not engaging in verbal games, fake ‘sohbets’ and ‘muhabbets’ but in inner silence…Shams is “saying”…”Hey; its time to cut the crap and begin”. No one can do this for you…not the greatest teacher, not your sincere devotion, not your prayers to God as “other”…not any wonderful deep conversation, not any thought or any feeling.

There is a certain brutality in cutting to the chase within ourselves. It means we became disillusioned, “I lost all the religions…and then I found my religion” (Mevlana). First is a detoxification from Sufism’s “madness”…Hazreti ‘Ali ” To look for Union with God without being separate is madness”… when we realize our “knowledge” is utterly empty…then the conclusion that we need to begin to actually BE gnostics, Sufis, in the Presence of the Real. And to accept that we will fail over and over again as we try to act in accordance with “Conscious Love”, but never cease learning…

  • The liminality of Al-Khidr

All sacred spaces are ‘liminal’, ‘between’ (the worlds)...just as ‘Man’ (Man in the process of Perfecting, Insan-i-Kamil ) is a liminal creature, ‘between’ the arcs…the arc of possibility, imkan, and the arc of the necessarily so-ness, wujub…( “…the Ipseity “extends without extension into the heart (centre, inside) of the Perfect Man” and this is the Batin, (interior, non-visible, hidden) of the Perfect Man; and that his exterior which is the Zahir (visible, manifested, etc) is the Universes, the whole of the manifestation”, From Bulent Rauf, ‘Addresses’)

Khidr/ Hizir is a liminal figure par excellence. Whats the essence of the idea of ‘liminality’?
We deliberately reject any interpretation- tempting as it may be- so many seek to ‘reduce’ the mysterious (and Al Khidr is an irruption of a cosmic ‘myth’) to a rational unity…maybe the most dangerously stupid of all people are the ones who cannot accept the ‘irrational’ as C.G. Jung points out in ‘Memories’, Dreams and Reflections’, and as he goes on to say, because of this will remain forever incomplete, ie, cut off from mystery and the Ghayb, the unseen).

‘Magicality’ really is in the ‘liminal’ undefined space between defined worlds, like in Sufism the reality of man is always between worlds; “The Living and the Dead”, transcendence and immanence, “The Arc of the necessarily-so and the Arc of unlimited potentiality”…

…”It is only when we are aware of our complete contradiction that we begin to really SEE”…then we have to begin to see or go insane, for all defined limits have turned to dust.

C. G. Jung says Khidr reveals not just the greenness of the chlorophyll within the leaves, not just the sunlight / water responsible for their nourishment and liveliness, and not just the (secondary) green ray of light that is refracted as the “middle-pillar” within the light spectrum, but also the (primary) undifferentiated light of a pure and altered consciousness. For Jung, Khidr resembles the inner self.

If we are to follow Khidr we must surrender to the inner essence of the heart of hearts that is the real teacher: “I am transcendent reality, and I am the tenuous thread that brings it very close. I am the secret of man in his very act of existing, and I am that invisible one who is the object of worship…. I am the Sheikh with the divine nature, and I am the guardian of the world of human nature…” (Abd al-Kerim Jili).

Henri Corbin wrote in “Alone with the Alone”, a study of the creative imagination in the Sufism of Ibn ‘Arabi,  that the cosmic mountain, Mount Kaf, on which lives the Simurgh or Anka bird, must be climbed by the mystic…but only Al_Khidr can climb this mountain. So he says the Sufi must become Al-Khidr…

“My servant, if you desire to enter into My intimacy, do not pay attention to the Mulk (the phenomenal world of witnessing), the Melekut (the world of Angels), or the Jebberut (the world of compulsion of the Divine)” Hadith Qudsi.

Gilani: “Whoever is satisfied with one of these (the Hadaras, planes of Being), they are expelled from the company; – at the level of God – it is thus. I mean to say that they have lost the right of Closeness to the Divine Ipseity. Their degrees (of ascension) are stopped. But they had desired Closeness; they cannot reach that Universe in this state. Because they did not desire the thing that was essential…They had only one wing”.

  • Idris and alKhidr

The Biblical Idris is Enoch (Genesis V/23) who lived for 365 years on earth, a healer, teacher, one well versed in sciences and the arts and one whom God took unto himself. The consonants of the word Enoch, mean ‘initiated’. Hebrew Hanoch means initiator or opener of the inner eye.

The Koranic Idris is al-Khidr who appears in Sura 18/66 (Al Kalf, The Cave), where Moses and his attendant go on a long journey to a point where two rivers met, a point to be seen even though the march would take them ages. According to revelation received by Prophet Mohammad, they meet a personage who is “one of our slaves, unto whom we had taught knowledge peculiar to us” (wa ‘allalnnahu min ladunna ilmy). This phrase alone categorically asserts the transmission of theosophia or divine wisdom down the ages, through Divine Guides or Teachers as the word rusted implies in the question Moses asks him: May I follow you on the understanding that you, a rusted teach me, what you have been taught?”

What were the hallmarks of the teachings of the hanifs or illuminati?

  1. Laws of involutionary and evolutionary cycles.
  2. Laws of emanation and manifestation.
  3. Science of the heart-mind (qalb)
  4. Science of Light (hikmat al-ilraq)
  5. The spiritual communion with the hierarchial Beings.

The periodical manifestation of Light called Logos, Christ or Word in Christianity, Buddha in Buddhism. Teerthamkara in Jainism, is termed qutb in Islam. Ali al Hujwiri in Khashf al Mahajab writes of such a hierarchy; “Besides the Qutb or Axis of the Universe, are three called Ifuqaba, four Awtad, seven Abdal”. Ibn al-Arabi too refers to seven Abdal.

It is significant that over and over again, the Quran uses the words We, Our, Us. The sense of preservers of the cosmic order can be attributed to these words. Sura xxxvii/l64 As-Saffat, Those Who Set the Ranks, reads:

There is not one of Us but hath his known position Lo! We, even We are They who set the ranks.”

The Greeks call al-Khadir, Hormux (Hermes) the adept and Initiator into the Temple Mysteries of the Great Pyramid. Isaiah 19/2 of the old Testament refers to this Pyramid Temple as the “altar to the Lord in the middle of Egypt”. Hermes, known to the Arabs as Idris, was called Enoch by the Hebrews.

The Spanish Arab historian Said of Toledo (d. 1069) said:

“Sages affirm that all antediluvian sciences originate with the first Hermes who lived in Said in upper Egypt.”

Idris, Enoch, al Khidr and Hermes all seem to be one person. This guide al-Khidr initiates Moses into deeply esoteric lore. The ijnaj Ilhami, in Hadith traditions, consider al-Khadir as a holy being, mysterious and immortal whom all spiritual initiatory orders revere as the Master of the Path (Tariqa). Al-Khidr is often mentioned as the Green Angel Guide in Islamic writings. In fact, in Egyptian frescoes he, Thot, is some times painted green with the head of an ibis.


Al-Khidr can most certainly be connected as the head of the ancient school of the Prophets, el-Khadoras on Mt Carmel (modern Haifa). This sacred mount in mentioned as having been handed back with endowment by Thutmose III in the 1449 B.C. documents which recorded his conquest of the region. He was a great initiate himself. Iamblichus, the Syrian philosopher, calls it the most holy of all mountains, forbidden of access to the profane. The Phophets Elijah, Elisha and Samuel are all recorded to have visited the schools for disciples at Naioth, Bethel and Jericho.

A very valuable text was among others withdrawn by the official circles of the Church from public use. It was the Apocalypse of Elias – a very sacred text of the mystic order of Nazarenes or Essenes, to which order Joseph, Mary, John the Baptist and Jesus himself belonged. Fortunately in 1893 Maspero discovered a Coptic translation of it in the monastic archives of the Brotherhood in Upper Egypt. It gave many details of the school of prophets where the ancient wisdom was imparted at Al Khador. Read more on The Apocaplypse of Elias


Christians who delve into the Qur’an will be surprised how many old friends they find there, including Jesus and Mary, of course, and a lengthy roster of prophets and patriarchs. Exploring the Qur’an can be an excellent way of understanding the Christian and Jewish worlds of Late Antiquity, roughly the sixth and seventh centuries BC.

Most of the Qur’anic characters can be identified easily enough. Allowing for legendary accretions, the Qur’anic Musa is not too far from the Biblical Moses, Adam is Adam, Ibrahim is Abraham, and Yahya is John the Baptist. With a little digging we deduce that the great prophet Idris is the Enoch who features in a couple of verses in Gensis, but who starred in countless deeply influential apocryphal books. That last example reminds us that we should be alert to seeing figures not just in the characters they assume in the canonical scriptures, but in the often vast corpus of additional writings. The Qur’an emerged from a Near East thoroughly familiar with the Bible as we know it today, but also with a bewildering collection of apocryphal books.

But who is the Green Man?

One very popular Qur’anic hero is al-Khidr, “The Green One,” who appears in Sura 18, al-Kahf, verses 60-82. Seeking Wisdom, Moses travels to meet “One of [God’s] servants”, whom commentators universally identify as al-Khidr (18.65). Moses, in unexpectedly meek mode, begs to follow the Servant as a disciple, despite al-Khidr’s constant warnings that Moses could not stand the pace. He seemingly commits acts of violence and vandalism, to Moses’s horror, until he eventually explains the higher purpose underlying his deeds. His apparent crimes were an illusion that even foxed the great Moses.

Through Islamic history, al-Khidr has fascinated scholars and ordinary believers alike. They note that Moses treated him so respectfully, suggesting that he was very important, and perhaps a prophet, or at least a saint, a wali, a friend of God. In tradition, also, he never died, placing him in a select category limited to Idris, Ilyas and Isa (Enoch, Elijah and Jesus). In some versions, he owes this immortality to having found and drunk the Water of Life. Sufis rank him very highly as one who attained the highest levels of mystical insight.

Popular custom made al-Khidr a popular and revered figure. Across the Middle East, his shrines are (or were) much frequented, and commonly identified with the Christian St. George. In the popular imagination, both merged seamlessly with Elijah. A century ago, English archaeologist Frederick W. Hasluck wrote an important study of popular religion in the Middle East, during the last days of the Ottoman Empire. (It was published posthumously as Christianity and Islam under the Sultans (Oxford: Clarendon Press, 1929). Hasluck devotes a major portion of his work to the cult of al-Khidr, who was above all a patron saint of travelers. Hasluck wrote that:

the protean figure of Khidr has a peculiar interest for the study of popular religion in Asia Minor and the Near East generally. Accepted as a saint by orthodox Sunni Mohammedans, he seems to have been deliberately exploited by the heterodox Shia sects of Syria, Mesopotamia, Asia Minor, and Albania that is, by the Nosairi, the Yezidi, the Kizilbash, and the Bektashi for the purposes of their propaganda amongst non-Mohammedan populations. For Syrian, Greek, and Albanian Christians Khidr is identical with Elias and S. George. For the benefit of the Armenians he has been equated in Kurdistan with their favourite S. Sergius, and, just as Syrian Moslems make pilgrimages to churches of S. George, so do the Kizilbash Kurds of the Dersim to Armenian churches of St. Sergius (i, 335).

Muslims and Christians alike attended the same holy places, with some believers seeking the aid of George, and others petitioning al-Khidr.

Qur’anic tradition often transforms well-known Judaeo-Christian heroes in surprising ways, but rarely invents characters altogether, out of whole cloth. It’s a reasonable bet, then, that the “Servant” is meant to be a figure from Jewish or Christian tradition and scripture, even if from the apocrypha or pseudepigrapha.

The most important thing we know about al-Khidr is who he is not. He cannot be a Biblical figure who is named elsewhere in the Qur’an, or he would have been identified accordingly. That immediately rules out Moses (obviously), Enoch, Elijah, Jesus, and many other obvious names. Subject to that limitation, he must be a figure known in Jewish and Christian memory as a mysterious being of extreme supernatural power, one of mysterious origins, without known circumstances of birth or death.

Unless I am missing something obvious, that really leaves only one candidate, and that is Melchizedek, King of Salem. (I am certainly not the first to make that point). As I wrote in a recent post, “In the canonical Bible, Melchizedek appears briefly as a king and priest who meets Abraham, and blesses him with bread and wine (Gen. 14). Throughout Christian history, Melchizedek has fascinated readers as a forerunner of Christ, and of the priesthood.” He features frequently in European art, usually in a Eucharistic context.

He also appears cryptically in the New Testament, in words that strongly recall the mysterious portrait of al-Khidr. The Epistle to the Hebrews notes that

This Melchizedek, king of Salem, priest of the most high God, who met Abraham returning from the slaughter of the kings, and blessed him; To whom also Abraham gave a tenth part of all; first being by interpretation King of righteousness, and after that also King of Salem, which is, King of peace; Without father, without mother, without descent, having neither beginning of days, nor end of life; but made like unto the Son of God; abideth a priest continually. Now consider how great this man was, unto whom even the patriarch Abraham gave the tenth of the spoils….. After the similitude of Melchizedek there ariseth another priest, Who is made, not after the law of a carnal commandment, but after the power of an endless life. For he testifieth, Thou art a priest for ever after the order of Melchizedek.

Hebrews makes a similar argument to what we will later find in the Qur’an. If even a titan like Abraham (or Moses) defers to this man, how enormously powerful must he have been!

Melchizedek appears as a character in the extensive Adam mythology that circulated in early times, and which was hugely popular in the Eastern Syriac world. In the Cave of Treasures (which certainly influenced the Qur’an), he joins Noah’s son Shem in moving Adam’s body to its new site at Golgotha, under what would centuries later become the place of Jesus’s crucifixion. Shem appointed Melchizedek to carry out his priestly duties on the site forever: “Thou shalt be the priest of the Most High God, because thou alone hath God chosen to minister before Him in this place. And thou shalt sit here continually, and shalt not depart from this place all the days of thy life.” The scene is thus set for his later meeting with Abraham. Read Here the Book of the Cave

Muslim scholar al-Tabari quotes writers who placed al-Khidr in the time of Abraham, long before the days of Moses.

Really, nobody else fits the bill.

Here again, then, the Qur’an is using a Biblical figure who was vastly important in the Christian world of its time, but one who has become quite obscure to many later Christians. (He does play a critical role in the Mormon tradition). Whatever its other qualities, the Qur’an gives a remarkable glimpse of the mental and spiritual world of Middle Eastern religious believers of all kinds during a critical stage of their historical development.

General info about khidr:

Khidr or al-Khidr (Arabic: al-Khir; also transcribed as Khidr, Khizr, Khyzer, Qeezr, Qhezr, Qhizyer, Qhezar, Khizar, Xızır, Hızır) is a mystical figure that some believe to be described in the Quran as a righteous servant of God possessing great wisdom or mystic knowledge. In various Islamic and non-Islamic traditions, Khidr is described as a messenger, prophet, wali or in some cases as a deity who takes the worldly place of an otherwise passive God. The figure of al-Khidr has been syncretized over time with various other figures including Vishnu in India, Sorush in Iran, Saint Sarkis the Warrior and John the Baptist in
Armenia, Saint George in Asia Minor and the Levant, etc. Read More

See also:  Al-Khidr – Origins and interpretations

Recently, by the way, Ethel Sara Wolper has an essay on “Khidr and the Politics of Place” in Margaret Cormack, ed., Muslims And Others In Sacred Space (New York: Oxford University Press, 2013).