In the chronicles of the Mamluk period, few figures appear as enigmatic as shaykh Khidr Mihrani. A Kurdish Sufi figure who rose from humble beginnings, Khidr became one of the closest confidants of Sultan Baybars.
Medieval chroniclers describe a man who occupied an extraordinary position: his counsel carried great influence, rulers and amirs treated him with caution, and many believed he possessed knowledge of future events. Some even compared him to the Quranic Khidr.
Yet the same sources preserve a complicated image of him. Khidr was accused by some of serious offenses. The sultan eventually imprisoned him, but according to the chronicles, Khidr claimed that their deaths were linked, and after Khidr died, Baybars himself followed shortly afterward.
His story is an excellent illustration of the relationship between Sufism, esoteric knowledge, political authority, and the significant Kurdish link to these fields in the premodern world.
I have brought together his life story from various premodern accounts in order to present it as comprehensively as possible. This is, to my knowledge, the first attempt at a complete English translation of his biography:
Shams al Din al Jazari writes:
At the beginning of his life, he served the great men in the land of al-Jazīra.
Then it was reported about him that he had corrupted some of the female slaves of the palace, so an order was issued to castrate him. He fled to Aleppo, and served at the court of Ibn Qarāṭābā, and he impregnated a slave girl. He was sought after, so he fled to Damascus and took refuge with the amir Ḍiyāʾ al-Dīn al-Qaymarī.
Ibn Shaddad writes:
Qushṭamur al-ʿAjamī, one of the Baḥrī Ṣāliḥiyya amirs, had spoken to Baybars about Khidr’s remarkable claims: even before the sultan gained power, Khidr repeatedly stated that he would one day become ruler. The amir Sayf al-Dīn likewise became attached to him.
During the campaign against al-Karak in 661 AH/1263 CE, Khidr accompanied the sultan. When the army stopped at Ṭābūr, the sultan asked about him and learned that Khidr had withdrawn into a cave near the tomb of Abū Hurayra. He went to find him, met with him, and was so impressed that he brought him into his close circle.
From then onward, a number of incidents strengthened the sultan’s trust in him. While the sultan was besieging Arsūf, Khidr informed him of the exact date on which it would fall, and the conquest occurred as he had predicted. Similar reports were given regarding Caesarea and Ṣafad.
Later, in 665 AH/1266 CE, as the sultan was travelling from Damascus toward al-Karak to examine the fortress, he asked Khidr for his opinion. Khidr advised him to abandon the expedition and return instead to Egypt. The sultan did not accept this advice and continued with his plan. However, at Birkat Zīzā he was thrown from his horse, broke his leg, and was forced to remain there until he recovered, after which he was transported to Gaza.
During the sultan’s Anatolian campaign, one of his companions met with Khidr and asked him what would happen to the expedition. Khidr replied that the sultan would be victorious, would return to Damascus, and would die there twenty days after Khidr’s own death. According to the report, this happened exactly as foretold. I heard this story directly from Qushṭamur al-ʿAjamī himself, who personally took responsibility for the account.
Because of the exceptional confidence the sultan placed in Khidr, he established for him a zāwiya outside Cairo on the canal near the Drummery-ground and endowed it with properties that generated more than 30,000 silver dirhams annually. He also founded other lodges for him in Jerusalem, Damascus, Baʿlabakk, Ḥamāh, and Ḥimṣ, each supplied with endowments and inhabited by dervishes.
The sultan granted him extraordinary freedom of action within the realm: Khidr exercised authority, and no one was able to hold him accountable. He demolished the great Jewish synagogue of Damascus and converted it into a lodge, adding prayer niches. In Jerusalem he destroyed a church located west of the city, known among Christians as the site of the Crucifixion and highly revered by them. He personally killed its priest and transformed the building into a zāwiya.
In Alexandria, he also seized one of the major Greek churches, regarded by Christians as a patriarchal seat and associated by them with the head of John son of Zechariah (John the Baptist). He converted it into a mosque, built prayer niches there, and named it the Green School. He opened a window facing the street and provided for the dervishes attached to it.
In all of these actions, the sultan supported him and approved what he did.
Al Umari:
He exercised authority, but no one exercised authority over him. No command of his was opposed, whether in matters great or small. Consequently, both the elite and the common people were wary of him. Even Amir Badr al-Dīn Baylik al-Khazindār, the deputy of the sultanate; the vizier Bahāʾ al-Dīn ʿAlī ibn Ḥannā; the rulers of the frontier principalities; and even the Frankish kings, along with others, treated him with caution.
Whenever he wrote to the ruler of Ḥamāh or to any of the amirs requesting a favor, he would sign:
"Shaykh Khiḍr, the donkey-fucker."
(Then) the great men and the sultan found fault with him for disgraceful matters, and he was accused of unbelief.
People were brought forward to confront him and question him.
Ibn al-Yūnīnī said:
I was told that when Sultan al-Ẓāhir's attitude toward him changed, he summoned some of Khiḍr's companions from Damascus to question him regarding matters that had been reported about him and to confront him with them.
Sultan al-Ẓāhir sat in the Citadel of the Mountain, and with him were among the greatest of the amirs: Fāris al-Dīn al-Atābak, Badr al-Dīn, and al-Malik al-Manṣūr Qalāwūn. He sent the amir Sayf al-Dīn Qushṭamur al-ʿAjamī to bring him. When he was summoned to appear at the citadel, he objected, because this was not something he was accustomed to.
Qushṭamur informed him that there was a matter being discussed, so he came with him. When he entered, he found that things were not as he was accustomed to. So he sat apart from them, separated from the gathering. The sultan then brought forward those of his companions whom he had summoned from Damascus.
They began speaking and accused him of shameful deeds and grave matters — things that could scarcely come from a Muslim.
Khiḍr replied:
"I do not know what they are saying.
Besides, I never told you: 'I am a righteous man.' You were the ones who said this.
If what these people are saying is true, then you were the ones who lied."
Sultan al-Ẓāhir and those with him rose from where they were and said:
"Let us get up. We do not want to be burned by being near him."
They moved to the far side of the audience hall, away from him. Al-Ẓāhir said:
"What is it that has made you suspicious of him?"
The Atābak replied:
"This man has knowledge of secrets — the secrets of the state and its inner affairs.
He should not be left alive, for it cannot be ruled out that something may come from him whose consequences cannot be repaired."
Those present agreed with him and said:
"Some of what has been said about him would be enough to make his blood lawful."
Khiḍr understood what they intended.
He said to Sultan al-Ẓāhir:
"Listen to what I say to you!
My appointed time is close to yours.
Between me and you there are only a few short days.
Whoever of us dies first, the other will follow him soon."
Sultan al-Ẓāhir was struck silent by this and said to the amirs:
"What do you think about this?"
None of them said anything.
Al-Ẓāhir said:
"This man shall be imprisoned in a place where none of his words can be heard, so that he will be like one who has been buried while still alive."
So he imprisoned him in a place apart. He did not allow anyone to enter to him except those whom the sultan trusted with the utmost confidence. Food of the finest quality, drinks, fruits, and clothing were brought to him, and his garments were changed for him regularly.
His imprisonment began on the twelfth of Shawwāl, in the year 671 AH. He died on Thursday, the sixth of Muḥarram, or on the night of Friday the seventh. On that Friday he was brought out from his imprisonment in the Citadel of the Mountain — dead. He was handed over to his family. They carried him to his well-known zāwiya in the quarter of the al-Ẓāhirī Mosque in al-Ḥusayniyya. There he was washed. He was carried to the mentioned mosque, and the funeral prayer was performed for him there after the Friday prayer. He was buried in the tomb he had prepared for himself at the zāwiya. He was slightly over fifty years old. When al-Ẓāhir returned from al-Rūm, he wrote an order for his release and sent the message by the postal relay. The sultan did not live after him for more than twenty days. He died on the twenty-seventh of that Muḥarram. Thus it happened exactly as Shaykh Khiḍr had said.
Ibn Kathir:
It is said that his origin was from the village of al-Muḥammadiyya in Jazīrat Ibn ʿUmar. He was credited with spiritual states and unveilings.
However, when he mixed with people, he became infatuated with some of the daughters of the amirs. He used to say about al-Malik al-Ẓāhir, while he was still only an amir, that he would become king.
Because of this, after al-Ẓāhir became ruler, the sultan believed in him and greatly honored him. He revered him excessively, visited him at his zāwiya once or twice a week, took him with him on many of his journeys, stayed close to him, respected him, and consulted him.
He would advise him with opinions and unveilings that proved correct, whether they were divine, satanic, or the result of a spiritual state or good fortune.
However, when he mixed with people, he fell into temptation because of some of the daughters of the amirs. They did not veil themselves from him, and he fell into trial.
This is generally what happens when one mixes with people: the person who associates with them is not safe from temptation, especially mixing with women.
When what happened occurred, he was questioned before the sultan, Taysirī, Qalāwūn, and al-Fāris Aqṭāy the Atābak. He admitted [the matter], and the sultan intended to kill him.