Musa and al-Khidr
From Wikipedia: Khidr
From the Deenlume library, adapted from Wikipedia
Awaiting review by a scholar. Please read with care and check the sources.
Khidr (Arabic: الخضر, romanized: al-Khiḍr) is a Qur'anic figure of Islam. He is described in Surah al-Kahf as a righteous servant of God possessing great wisdom or mystic knowledge. In various Islamic and non-Islamic traditions, Khidr is described as an angel, prophet, or wali (saint), who guards the sea, teaches secret knowledge and aids those in distress. He prominently figures as patron of the Islamic saint Ibn Arabi. The figure of al-Khidr has been syncretized over time with various other figures including Dūraoša and Sorūsh in Iran, Sargis the General and Saint George in Asia Minor and the Levant, Elijah in Judaism and among the Druze, John the Baptist in Armenia, Buddha in some medieval Islamic writings, and Jhulelal in Sindh and Punjab in South Asia. He is commemorated on the holiday of Hıdırellez.
Though not mentioned by name in the Quran, he is named by Islamic scholars as the figure described in Quran 18:65–82 as a servant of God who has been given "knowledge" and who is accompanied and questioned by the prophet Musa (Moses) about the many seemingly unfair or inappropriate actions he (Khidr) takes (damaging a ship, killing a young man, repaying inhospitality by repairing a wall). At the end of the story, Khidr explains the circumstances unknown to Moses that made each of the actions fair and appropriate.
Etymology

The name al-Khiḍr shares exactly the same triliteral root as the Arabic al-akhḍar or al-khaḍra, a root found in several Semitic languages meaning "green" or "verdant" (as in al-Qubbah al-Khaḍrā’ or the Green Dome). Therefore, the meaning of the name has traditionally been taken to be "the Green One" or "the Verdant One". Some contemporary scholars have disagreed with this assessment; however, some others point to a possible reference to the Mesopotamian figure Utnapishtim from the Epic of Gilgamesh through the Arabization of his nickname, Hasisatra. According to another view, the name Khidr is not an Arabic variant or an abbreviation of Hasisatra, but it may have been derived from the name of the Canaanite god Kothar-wa-Khasis and later it may have been assimilated to the Arabic al-akhḍar. Finally, it has been suggested that the name of Khidr is derived from Arabic haḍara, a verb meaning 'to be present' or 'be in the presence', and it was explained over time by a similar Arabic word meaning 'green'.
Quranic narrative
In the Quran 18:65–82, Moses meets the Servant of God, referred to in the Quran as "one of our slaves whom We had granted mercy from Us and whom We had taught knowledge from Ourselves". Muslim scholars identify him as Khiḍr, although he is not explicitly named in the Quran and there is no reference to him being immortal or being especially associated with esoteric knowledge or fertility. These associations come in later scholarship on al-Khiḍr.
The Quran states that they meet at the junction of two seas, where a fish that Moses and his servant had intended to eat has escaped. Moses asks for permission to accompany the Servant of God so Moses can learn "right knowledge of what [he has] been taught". The Servant informs him that "Surely you [Moses] cannot have patience with me. And how can you have patience about things about which your understanding is not complete?" Moses promises to be patient and obey him unquestioningly, and they set out together. After they board a ship, the Servant of God damages the vessel. Forgetting his oath, Moses says, "Have you made a hole in it to drown its inmates? Certainly you have done a grievous thing." The Servant reminds Moses of his warning, "Did I not say that you will not be able to have patience with me?" and Moses pleads not to be rebuked.
Next, the Servant of God kills a young man. Moses again cries out in astonishment and dismay, and again the Servant reminds Moses of his warning, and Moses promises that he will not violate his oath again, and that if he does he will excuse himself from the Servant's presence. They then proceed to a town where they are denied hospitality. This time, instead of harming anyone or anything, the Servant of God restores a decrepit wall in the village. Yet again Moses is amazed and violates his oath for the third and last time, asking why the Servant did not at least exact "some recompense for it."
The Servant of God replies, "This shall be separation between me and you; now I will inform you of the significance of that with which you could not have patience. Many acts which seem to be evil, malicious or somber, actually are merciful. The boat was damaged to prevent its owners from falling into the hands of a king who seized every boat by force. And as for the boy, his parents were believers and we feared lest he should make disobedience and ingratitude to come upon them. God will replace the child with one better in purity, affection and obedience. As for the restored wall, the Servant explained that underneath the wall was a treasure belonging to two helpless orphans whose father was a righteous man. As God's envoy, the Servant restored the wall, showing God's kindness by rewarding the piety of the orphans' father, and so that when the wall becomes weak again and collapses, the orphans will be older and stronger and will take the treasure that belongs to them."
Reports in the Hadith

Muhammad al-Bukhari reports that al-Khiḍr got his name after he was present over the surface of some ground that became green as a result of his presence there. There are reports from al-Bayhaqi that al-Khiḍr was present at the funeral of Muhammad and was recognized only by Ali from amongst the rest of the companions, and where he came to show his grief and sadness at the death of Muhammad. Al-Khiḍr's appearance at Muhammad's funeral is related as follows: A powerful-looking, fine-featured, handsome man with a white beard came leaping over the backs of the people till he reached where the sacred body lay. Weeping bitterly, he turned toward the Companions and paid his condolences. Ali said that he was Khiḍr.
Muhammad al-Jawad narrates in Kitab al-Kafi that after entering the sacred Mosque in Mecca, Ali, Hasan ibn Ali, and Husayn ibn Ali were visited by a good looking, well dressed man who asked them a series of questions. Hasan answered the questions and upon this, the man testified to the prophet-hood of Muhammad followed by testifying that Ali and his Ahl al-Bayt are the successors and heir to his message. Ali asked Hasan to track the whereabouts of the visitor, but when he could not, Ali revealed the identity of the man to be Khidr.
The Islamic scholar Said Nursî believed that Khidr, a figure in Islamic tradition, is alive and at the second degree of life. Some religious scholars have doubts about this belief. He said al-Khidr and Elijah were free and able to be present in multiple places at the same time. They do not have to eat or drink and are not restricted by human needs. There is a level of sainthood called "the degree of Khidr" where a person receives instruction from Khidr and meets with him. However, sometimes the person at this level is mistaken for Khidr himself.
References
Text adapted from Khidr on Wikipedia (revision 1383569509), licensed CC BY-SA 4.0.

