There is a city that the first Muslims faced in prayer before they ever faced Makkah. For years, in the early days of the message, when a believer in Makkah or Madinah stood to pray, his body turned toward Jerusalem. It was the direction of their longing before it was ever the direction of their ownership. And so when, decades later, the keys of that city were placed into the hand of a Muslim, it was not the arrival of a conqueror at a foreign place. It was the return of a people to the city their hearts had already faced.
The man who took those keys was Omar ibn al-Khattab (may Allah be pleased with him). To understand what happened in Jerusalem, and why a single bare-headed traveller in a patched garment is remembered more than the armies around him, you have to begin long before he arrived, with the city itself and what had been done to it.
A holy land soaked in blood
Before Islam reached it, Jerusalem had been torn apart. In the years when the Prophet Muhammad ﷺ was beginning his public call, around 613, the Persian and Byzantine empires were locked in a war that swallowed cities whole. The largest city of Sham then was not Damascus, which came second, but Homs. Damascus fell to the Persians in 613. The following year, in 614, they took Jerusalem itself.
The Persians were Zoroastrians, fire-worshippers who saw nothing sacred in the holy land. They had no shrine there, nothing to revere. What they understood was that this city was the beating heart of religious life for the Christians of the Byzantine empire, and so they set out to make an example of it. They carried out one of the largest massacres of that entire century. Ninety thousand people were killed. Consider what that meant in a world without modern weapons: ninety thousand human beings cut down in a single onslaught. The Christian holy sites were desecrated. They even seized from the Church of the Holy Sepulchre what the Christians called the True Cross, the relic on which they believed Jesus, peace be upon him, had been crucified.
The arrogance of the victor was complete. Kisra, the Persian ruler, wrote to Heraclius, the Byzantine emperor, and told him in effect: I am clearly god, and whatever you worship could not defend Jerusalem. This is the recurring pattern of tyrants. Every one of them, given enough power, eventually concludes that he must be divine, and then Allah humbles him. And through all of this, the Muslims in Makkah were praying toward that very city while its sanctity lay in ruins.
It was into this moment that Allah revealed a prophecy that seemed impossible. The Romans had been crushed, yet Allah promised they would rise again and win. The transcript points us to the opening of Surah Ar-Rum:
The Byzantines have been defeated in a nearby land. They will reverse their defeat with a victory in a few years' time: God is in command, first and last. On that day, the believers will rejoice at God's help. He helps whoever He pleases: He is the Mighty, the Merciful.
Qur'an 30:2-5
The Prophet ﷺ voiced this when it looked unthinkable, and it carried a double meaning. The Christians, nearer in faith to the Muslims, would defeat the Persians; and the believers themselves would one day prevail over those who had aligned against them. In 624, the same year as Badr, Heraclius struck back and the Romans defeated the Persians, exactly as Allah had foretold.
The city the Prophet ﷺ kept seeing
Jerusalem kept appearing to the Prophet ﷺ across his life. On the night of the Israa, he was carried there and led the prophets in prayer. When Quraysh interrogated him afterward, demanding details to expose him, he said it was as if Jerusalem were raised up before his eyes, and he described its roads and its structures so perfectly that the questioners were silenced.
He saw it again from the trench. When the confederate armies gathered against Madinah and the believers dug the Khandaq, the Prophet ﷺ struck a stubborn rock and Allah showed him the palaces of distant lands: Yemen, Persia, the lands of Sham. He promised his exhausted, besieged followers that they would reach those places. The hypocrites mocked him, sneering that these men could not even relieve themselves without fearing for their lives, yet were being promised empires. But the promise was not the Prophet's; it was Allah's. And a striking detail survives: nearly every companion who narrated that vision later went to one of the very places the Prophet ﷺ had described.
He urged his companions toward Jerusalem with his own words, teaching that a journey is undertaken to only three mosques: the Sacred Mosque in Makkah, his own mosque in Madinah, and Al-Aqsa. And so the longing for that city was planted in the hearts of the first believers, the very people who had once turned their faces toward it in prayer, waiting for the day it would be theirs to enter.
The most powerful man in the world, alone in the desert
Then came the time of Omar. The transcript asks us to pause and feel the sheer scale of what unfolded in his caliphate. Iraq, Iran, Syria, Jordan, Palestine, Lebanon, Egypt, Afghanistan, and lands beyond, all came under Islam in his years. The Persian empire, the most arrogant power on earth, which had laughed at the Bedouin standing before Rustam as if they were a joke, collapsed in a single year at Qadisiyyah. The Byzantines were broken at Yarmouk, and after that battle the fall of the rest was only a matter of time.
Jerusalem was now besieged from every direction. The Muslims had taken Damascus, Egypt, and the land of Jordan, and they surrounded the city on all sides. But they did not want to spill blood in Al-Quds. This is the part that must not be rushed. An army that had defeated two empires sat outside a city it could have stormed, and it waited. For four months the Muslims were camped around Jerusalem, a patient army that killed no one, while negotiations went on.
Inside the city was its patriarch, Sophronius, remembered as a saint in his church, a noble man who cared less for Byzantine politics than for his faith, his churches, and the ability of his people to worship. Knowing what the Persians had done, he had quietly sent the cross away to Constantinople in case the Muslims proved treacherous. But as the talks went on, he came to feel that these Muslims genuinely did not want to kill anyone, that they were trying to make this a bloodless transfer. The terms astonished him: the Christians could keep their faith, their churches, their crosses; they would pay the jizya and receive protection; and that tax, which exempted them from fighting for an empire they did not believe in, was lower than what the Muslims themselves paid in zakah.
Then Sophronius made one final demand. He had heard of a man written about in scripture, a man whose justice was known, and he insisted that this man himself come to take the keys. He wanted the caliph. He wanted Omar. When the Muslims tried sending Khalid ibn al-Walid, who resembled Omar in build, the ruse failed at once, because Khalid had become too famous in the battles. The Christians would not be fooled. It had to be Omar.
So Omar consulted Uthman and Ali (may Allah be pleased with them). Ali, the companion Omar most often turned to for counsel, told him this was a special opportunity, a place for which the Prophet ﷺ had held great ambition, and that it was worth the risk. Go, he said, and receive the keys. Ali himself was placed in charge of Madinah while Omar was away.
And here is the heart of it. Did the most powerful man in the world set out with a great army to receive the keys of Jerusalem? He took one camel and one servant. No army. He carried his sword, he had his sandals, and he set out into the desert alone. He wore no turban, no helmet; his head was bare, and he was bald. His garment was a white woollen robe with seventeen patches sewn into it where it had torn, the patches scattered unevenly down his left side, sewn with whatever colours he could find, with no thought for matching them. He had nothing on him to suggest a ruler at all.
It gets more remarkable. He told the servant they would split the journey in half: the servant would ride the camel half the way, and Omar would ride the other half. So for half the trip from Madinah to Jerusalem, the commander of the believers walked in the desert pulling the reins while his servant sat above him.
As they neared Palestine, it was the servant's turn to ride. The servant protested: they are waiting for you, not for me, it is enough that you have shared this evenly, get on the camel. Omar refused. Honour, he said, belongs to the one who fulfills his trust. He did not care if crowds were waiting and would see him pulling a camel. They had agreed, half and half. And then, as they entered Palestine, Allah decreed that Omar step into a puddle of mud, so that the white garment with its seventeen patches was now spattered with mud as well.
"We are a people whom Allah has honoured through Islam"
The people had lined the streets for miles. They sat in their balconies to see the great man they had heard so much about, the ruler who never left Madinah, now coming because Islam had spread to every land around them. As Omar reached al-Jabiyah, in the area known today as the Golan Heights, some of the companions came out to meet him, and they were uneasy. Could they get him armour, buy him something fitting, put a helmet on him? Let him wear what befits the commander of the believers who comes to receive the keys of Jerusalem.
They had a point, and a good intention. But Omar answered with words that have echoed ever since. He said: We are a people whom Allah has honoured through Islam, and whenever we seek honour through anything else, Allah will humiliate us.
This was not the bitterness of a poor man making a virtue of necessity. The commander of the army in Sham was Abu Ubaidah ibn al-Jarrah, the trustworthy one of this ummah, whose bare little home had once made Omar weep when he found no possessions in it. "I told you that you would cry," Abu Ubaidah had said. "The world changed all of us except you," Omar replied. So this was not about poverty. It was a principle: the Muslims would not adopt the pomp of empires to impress anyone. We will be ourselves, Omar was saying, and I am entering Jerusalem like this. Come with me, or stay behind.
And so Omar walked into Jerusalem, his servant on the camel, his patched white garment streaked with mud, and the watching crowds asked one another who this man could be, and what kind of religion produced such a leader. Then something happened that always happens when a person humbles himself for Allah: the people began to praise him. This is the most powerful man on earth, they said, and look at how he carries himself. The patriarch Sophronius looked at him and was glad, and he said a true thing: with a leader like you, your people will never be defeated.
The keys, and the prayer outside the church
Before anything was handed over, there was a covenant to sign, the Pact of Omar. Even its opening showed the man. It began in the name of Allah, the Most Compassionate, the Most Merciful, and named the giver as the slave of Allah, Omar, commander of the believers: no title of grandeur anywhere in it. The pact granted the Christians of Jerusalem the protection of their lives, their churches, their crosses, and their security, in exchange for the jizya. One condition the Christians themselves asked for, born of their war with the Jews, was that the expelled Jews not be returned; yet Omar, the histories say, allowed roughly seventy Jewish families back into the city. The justice of the man did not disappoint.
Then Sophronius gave Omar a tour of Al-Quds. At ease now about who this man was, the patriarch handed him the keys to the Church of the Holy Sepulchre itself, the holiest site in Christianity. Omar received it as a trust. And here is one of the most beautiful things in the whole account: the keys were entrusted to a single Muslim family, and to this day a Muslim family holds the keys of that church and opens it every morning for the Christians. What looks like a paradox is in fact a mercy that ended generations of fighting among the Christian denominations over who would hold the keys. The trust of the Muslim was never betrayed.
When the time for prayer came, the patriarch, in friendship, invited Omar to pray inside the church. Omar refused, but not out of disdain. He understood something with a clear vision. If I pray here, he said, the Muslims who come after me will turn this into a mosque, saying Omar prayed here, and they will take your church from you. So he stepped outside and prayed beyond its doors, precisely so that his community would never seize the Christians' place of worship. And exactly as he foresaw, the spot where he prayed became a mosque, the Mosque of Omar, built a short distance from the Holy Sepulchre, where the call to prayer still rises beside the holiest church in Christianity, and the worshippers there are Palestinians.
A reunion, and a voice that broke them all
This gathering was more than a political ceremony. It was a reunion. Many of these companions had not seen one another since Madinah, scattered across the conquests, and now they stood together in the city they had faced in prayer in their earliest days as Muslims, all of them among the first. It was a surreal moment.
When Omar saw Bilal (may Allah be pleased with him), he embraced him for a long time, and the two of them wept. Then Omar asked him for something he had refused everyone since the Prophet's death. Make the adhan for us, he said. This is one of the days of Allah, one of those rare days in history that do not come again. But Bilal had taken a vow: he would never call the adhan for anyone after the Prophet ﷺ until he met him again. Omar pressed him with the one argument that could move him. This would have made the Prophet ﷺ happy, he said. If he were here he would have ordered you to do it, just as he was the one who ordered you to call the adhan first in Makkah and then in Madinah, an honour given to no other companion. Do you think he would pass you over now? Please, make the adhan for us.
So Bilal rose to call the prayer in Jerusalem, his "Allahu Akbar" sounding over the holy city. And every companion present wept. The transcript records that Omar wept so hard that he fell to his knees while Bilal was calling, and the companions gathered around to console him. Because suddenly this was not Jerusalem anymore. The sound of that voice carried them back to Madinah, to the days they had spent with the Prophet ﷺ, and the loss of him broke over them all at once.
Then came the two most honoured prayers ever offered in that place. The first had been on the night of the Israa, when the Prophet ﷺ led all the prophets and they prayed behind him. The second was this: Omar leading the companions of the Prophet ﷺ in prayer, the gathering of the first believers behind a single imam. Omar searched out the exact spot where the Prophet ﷺ had prayed, refusing to be misled toward the rock, insisting on the precise place. He found it. And the area, which the Christians had turned into the foulest rubbish heap of the city out of contempt for the Jews who had sided with the Persians, Omar and the companions cleaned with their own hands.
When Omar prayed there, leading the Muslims as the first after the Prophet ﷺ to pray publicly in Al-Aqsa, he recited Surah Sad in the first cycle, and in it he reached a verse that shook him as he stood on that liberated ground:
David, We have given you mastery over the land. Judge fairly between people. Do not follow your desires, lest they divert you from God's path.
Qur'an 38:26
A man who had just received a city without bloodshed, who had refused armour and pomp, who had walked half the desert on foot to keep faith with a servant, stood in the freed sanctuary and heard the command to rule with justice and not to follow his own desires. In the second cycle he recited Surah al-Israa, the chapter that opens with the Prophet's night journey to that very place. The believer who, on the night of the Israa, had been shown catching the milk that flowed through the Prophet's fingers was now leading the prayer where that vision had been fulfilled.
What Omar's life asks of our faith
It is easy to read this account and feel only the thrill of it, the patient army, the patched garment, the bare-headed caliph pulling a camel into the holy city. But the scene was never meant to be admired from a distance. It is a question put to our own iman.
Start with the words he said at the gates: we are a people whom Allah has honoured through Islam, and whenever we seek honour through anything else, Allah will humiliate us. This is not advice about wardrobe. It is the whole orientation of a believing heart. Omar refused, in the most public moment of his life, to borrow his worth from how others might see him, because his worth came from Allah alone. We live the opposite by default. We reach for the helmet and the fine garment, for the approval of people, for the version of ourselves that impresses the crowd in the balconies. His life asks a hard and simple thing: do you seek your honour from Allah, or from the eyes of others? The quality to imitate here is that quiet refusal to perform for people, to do your work and worship for Allah and let Him decide your standing.
Then there is the trust he kept on the road. Honour belongs to the one who fulfills his trust, he told the servant, and he kept walking. No one was watching the agreement but Allah. There was no crowd at that stretch of desert to applaud him for pulling the reins while his servant rode. That is exactly why it matters. The amanah you keep when no one will ever know is the truest measure of your faith. In an ordinary life this looks small: finishing the work you were paid for when no manager is checking, returning what is not yours, keeping the promise that cost you something. Omar's grandfather kept faith in the dust of a forgotten road, and Allah raised him in front of an entire city for it. What you guard in private, Allah sees, and nothing kept for His sake is ever wasted.
Look too at the patience of that army. Two empires had fallen to them, and still they sat for four months outside a city they would not bloody, because it was holy and because they were not a people who did to others what had been done to them. Faith is not only the courage to act; it is the patience to hold back when holding back is right, to refuse cruelty even when you have the power for it, to trust that Allah's way is better than the swift and brutal way. When you are wronged and have the upper hand, Omar's Jerusalem asks whether you can be just instead of vengeful.
And consider where his certainty came from. The Prophet ﷺ promised besieged, mocked, frightened men that they would reach Persia and Yemen and the lands of Sham, and the believers held to that promise through the trench when the hypocrites laughed. They held to the prophecy of Ar-Rum when the Byzantines lay crushed and it seemed impossible. Then they watched it all come true. This is the lesson buried in the whole account: Allah's promise does not fail, however far off it looks. The same God who turned a defeated empire into a victor, who carried a praying people from facing a ruined city to holding its keys, is the God whose promise to you of relief after hardship and of Paradise for the faithful will not fail either. Believe it before you see it. Let it steady you when the outcome is hidden.
So take something from him into your own day. Do one piece of your work purely for Allah, refusing to advertise it. Keep one trust that no one would ever check. Hold your tongue and your hand where you have the power to strike, and choose justice instead. And when life looks bleak and the promise seems far, remember the believers in the trench who were promised empires while fearing for their lives, and trust your Lord. Omar lived all of this in the open, but its root was hidden in his heart, in his fear of Allah and his love for the Prophet ﷺ, and that root is available to anyone who wants it. May Allah be pleased with Omar ibn al-Khattab, grant us a measure of his sincerity and his justice, fill our hearts with certainty in His promise, and allow us, as He gathered the first believers in that blessed place, to be gathered with them.
This chapter follows the account of Omar ibn al-Khattab (RA) and the opening of Jerusalem in Dr. Omar Suleiman's series The Firsts (Yaqeen Institute). Qur'an translations are from M.A.S. Abdel Haleem (30:2-5, 38:26). Where the histories carry more than one narration, the most widely reported has been followed.