All companions

The Companions

Hudhayfah ibn al-Yaman

The Secret Keeper


There was one man in Madinah who walked among the believers carrying a list he could not share. The Prophet Muhammad ﷺ had entrusted him with the names of the hypocrites, the people whose tongues said one thing while their hearts hid another. Imagine how far a person must stand from hypocrisy before the Messenger of Allah hands him that burden. Imagine walking through a city where you alone, after the Prophet ﷺ himself, know who is true and who is false, and saying nothing, ever, to anyone. The hypocrites felt a quiet dread around him, afraid that one day he might expose them. He never did. He held the secret until the day he died, and the people gave him a name for it: the keeper of the secret of the Messenger of Allah.

His name was Hudhayfah ibn al-Yaman (may Allah be pleased with him), and to understand why Allah placed such trust in him, you have to begin not with the secret, but with a man, his father, and a battlefield.

A family that came to Islam from two cities

Even his father's name carries a story. People called him al-Yaman, "the Yemeni," but he was not from Yemen and that was not his name. His name was Husayl. As a young man he had been caught in a brawl among the youth of his tribe and had accidentally killed a man. He fled, traveling until he reached the city that was then called Yathrib, and there he pledged himself as an ally to a sub-tribe of the Ansar, a clan of Banu Abd al-Ashhal. He told them, in effect, I will serve you and be loyal to you, take me in. Because he had attached himself to a tribe known to trace its roots back to Yemen, the people began calling him al-Yaman. The name stuck, and his son inherited the shadow of it.

This was no ordinary clan. It produced some of the most luminous of the Ansar, and Hudhayfah grew up among them, in the company of the best of the young companions of the Prophet ﷺ.

The family had an unusual life. Husayl had become a man of some means, with a home in Makkah and a home in Yathrib, traveling between the two cities in a way few people did. So when the message of Islam reached them, it reached a family that was settled in Madinah while still keeping ties to Makkah. They embraced Islam without ever having seen the Prophet ﷺ preach. The first emissary the Prophet ﷺ sent to Madinah carried the message to them, and they believed in him as a Prophet of Allah before they had ever laid eyes on him. Then they waited, with a longing the histories describe, for the day he would arrive among them.

Honour the oath, even to your enemy

When the Prophet ﷺ finally made his way to Madinah, an interesting choice was placed before Hudhayfah and his father. They were both makki and madani, belonging by experience to both worlds. So they were given a choice that almost no one else received: did they wish to be counted among the Muhajirun, the emigrants, or among the Ansar, the helpers? The easier path was obvious. To be Muhajirun meant being a guest, with no one to host and no one to spend on. But they understood the reward in being hosts, in giving rather than receiving, and Hudhayfah answered, "I am one of the Ansar, O Messenger of Allah." He chose the harder and more generous station, and the Prophet ﷺ accepted it.

There is an episode from the road that tells you everything about the household Hudhayfah came from, and about the man he followed. Around the time of the Prophet's migration, the enemies of Islam were watching the paths between Makkah and Madinah. Abu Jahl intercepted Hudhayfah and his father, not yet knowing they were Muslim, and demanded to know where they were going. They said it was a business trip, which was true, for they were known to travel between the two cities. Abu Jahl pressed them: you are only going to support Muhammad, aren't you? They denied it, and to be released, they swore an oath that they would not go out with the Prophet ﷺ to fight against the Quraysh.

Then the Battle of Badr drew near, and the two men came to the Prophet ﷺ in distress. We took this oath with Abu Jahl, they said, but we want to march out with you. What do we do? Consider who Abu Jahl was. He had boycotted the Prophet ﷺ, plotted to kill him, tortured and killed believers. By every worldly measure, an oath sworn under his coercion was worth nothing. But the Prophet ﷺ told them plainly: honour your oath, and we will seek the help of Allah against them. We are not a people who betray. So Hudhayfah and his father stayed back from Badr, not out of fear, but out of faithfulness to a promise given even to a tyrant. And they waited in Madinah until the news came of the victory Allah had granted at Badr.

The day his father fell

A year later came the Battle of Uhud, and with it the most painful day of Hudhayfah's life. His father, al-Yaman, was now an old man, and the Prophet ﷺ had given him and his friend Thabit ibn Waqsh permission to remain behind with the women, the children, and those unable to fight. But as the battle raged in the distance, the two elderly men looked at one another, and one of them said, in effect, what are we waiting for? We are old, and the only life left to us is barely the time it takes a donkey to quench its thirst. Why die in our beds when we could die alongside the Messenger of Allah and perhaps be granted martyrdom? So the two old men put on their armour and went out to Uhud.

They arrived after the fighting had already begun, in the thick of the chaos, their faces covered by their armour. They charged into the battle from the direction of Madinah, just as the enemy cavalry was striking the Muslims from behind. In the confusion, no one recognised them. The Muslims, assuming these two armoured men coming from that direction were the enemy, turned their swords on al-Yaman. From a distance, Hudhayfah saw his own father, even through the armour, and saw the believers closing in on him. He began to scream as loudly as he could, "It is my father! It is my father!" But his voice was swallowed by the clash of swords and the roar of the battle. By the time he reached him, his father had been killed by the swords of the Muslims, by accident, by the very people he had come to help.

The men who had struck him realised what they had done and were stricken with grief. They wept, swearing they had not known who he was, that they had taken him for one of the enemy. And here Hudhayfah did something that revealed the depth of his faith. He did not rage. He did not demand vengeance. He spoke the words that the Prophet Yusuf (peace be upon him) had once spoken to the brothers who had wronged him:

but he said, 'You will hear no reproaches today. May God forgive you: He is the Most Merciful of the merciful.'

Qur'an 12:92

He forgave them on the spot, and kept on forgiving them. The Prophet ﷺ was so moved by this that he ordered Hudhayfah be given the blood-money for his father, a hundred camels, enough at that time to make a man wealthy for life. Hudhayfah took all hundred camels and distributed every one of them to the poor among the Muslims. He had lost his father to a tragic mistake, been honoured with a fortune in compensation, and given the entire fortune away for the sake of Allah. The narrators report that he continued to ask Allah to forgive those companions for their mistake until the day he himself met Allah.

This is why Allah would entrust this man as He did. Here was someone who would not exploit a single situation for himself, who answered the worst grief with forgiveness and generosity. Here was a person of amanah, of trust, of sincerity. And so the Prophet ﷺ would come to treat him unlike any of the others.

The man who feared hypocrisy

The Prophet ﷺ gave Hudhayfah the list of the hypocrites, and gave it to no other human being. But Hudhayfah's protection from hypocrisy ran deeper than a secret entrusted to him. It lived in the way his heart was turned.

Most of the companions, being human, wanted to ask the Prophet ﷺ about the good that was coming, the victories, the gardens of Paradise. Hudhayfah was different. As he himself said, the people used to ask the Messenger of Allah about the good, but I used to ask him about the evil, out of fear that it would reach me. He wanted to know about the hard times ahead so that he could navigate them, and he wanted to know about the punishment so that he could flee from it. There is a deep wisdom buried in this. The cure for hypocrisy is, in large part, the remembrance of the Fire. The companions who feared the Hellfire most were also the ones who feared hypocrisy most, and Hudhayfah feared both as though the danger were always at his door.

He once described the fitnah, the trials and tribulations, that the Prophet ﷺ had foretold to him. He said, by Allah, I am the most knowledgeable of people concerning every trial that will occur between now and the Day of Judgement. The Prophet ﷺ would speak to the companions about the coming tribulations, and some memorised what they could and some forgot, but Hudhayfah was the one who held it all. The trial he warned of most often was the loss of trust among people, the lifting of amanah from human hearts. He narrated that trustworthiness was first rooted deep in the hearts of men, and then they learned it through the Qur'an and the example of the Prophet ﷺ, and then a time would come when Allah would lift it away: a man would sleep, and the amanah would be taken from his heart, leaving only a faint trace like the mark of a fire. A time would come, he said, when you could scarcely find a single trustworthy person to do business with, when a man would be praised for his intelligence and his appearance and his strength, yet not have in his heart faith equal to a mustard seed. Notice how amanah and iman, trust and faith, share the same root, and in Hudhayfah's telling they rise and fall together. The loss of trust among people is a symptom of the loss of faith.

He hated that loss of trust, and he was, by temperament, a serious man, a straight shooter who pushed the companions and the generation after them to live up to their best selves. When people asked him what hypocrisy was, he gave them the most sobering answer: that you speak of Islam but do not act upon it, that you say what you do not do.

The governor on a small donkey

When the Prophet ﷺ passed away, Hudhayfah's gift became a heavy thing to carry. Umar ibn al-Khattab (may Allah be pleased with him), who knew Hudhayfah's standing, used to watch him at funerals. If Hudhayfah did not come to pray over a man, Umar would hold back from praying too, fearing that man might have been one of the hypocrites. Once, Umar asked him outright, with the question of a man who feared his Lord more than he feared anything else: am I one of them? Did the Prophet ﷺ name me among them? This was Umar, to whom the Prophet ﷺ had promised Paradise, and still he trembled at the thought. Hudhayfah told him, no, but do not ask me about anyone else. Umar then asked about the men he had appointed as governors and leaders, were any of them hypocrites? Hudhayfah named one, and would say no more. And the narration tells us that it was as though Allah opened Umar's heart to the truth, for he quietly dismissed that one man from his post, guided to it without ever being told the name. The success of these companions was never mere worldly brilliance. It was taqwa, and the help of Allah that came with it.

Umar trusted Hudhayfah completely, because the Prophet ﷺ had declared him free of hypocrisy, and so he sent him to govern al-Madain, the former heart of the Persian Empire, the city of the great palace of the Persian king. The people there had lived under the most pompous of rulers, a king draped in more wealth than the Muslims had ever seen. They gathered to receive their new governor. What came to them was a man riding a donkey so small that his legs nearly dragged on the ground, carrying a loaf of bread and something to dip it in, his clothes patched. They could hardly believe it. This was the new governor of al-Madain. When they offered him anything he wished, eager to win the favour of the new authority, he answered that he only wanted enough food for himself and fodder for his donkey. That was all.

Umar, testing him, summoned him back to Madinah, and waited on the outskirts of the city to watch for his return. When Hudhayfah came back in the same patched clothes, on the same small donkey, having sat upon the treasures of an empire and taken nothing, Umar embraced him and said, you are my brother, and I am yours. That was exactly what he had hoped to see.

Hudhayfah settled in Iraq in his old age. He would travel each Friday to Kufa, no small journey, to teach and guide the young people of the ummah. He was a man of tarbiyah, of nurturing, who would stop a man spreading gossip and remind him that the slanderer does not enter Paradise, who once watched a young man pray so hastily, without settling into each posture, that he told him: you have not prayed, and if you died praying like this you would die upon something other than the way of Muhammad ﷺ. He taught that man, gently and firmly, that even a short prayer must have stillness in it, that you must not rush your prayer like a pecking bird.

A death he had prayed for

There is a supplication the Prophet ﷺ taught: that if Allah has decreed a trial for the people that we may not be able to bear, He take us to Himself before it comes, untested by it. Hudhayfah used to make that very supplication, and Allah granted it. He lived just long enough to see the assassination of Uthman (may Allah be pleased with him), the event that would tear open the great fitnah among the Muslims, and then he died a natural death only days later, in Iraq, spared from the chaos he had foreseen his whole life.

Even his death carried a lesson. Hudhayfah was poor, and when he asked the young men around him to buy his burial shroud, they brought back an expensive garment. He told them to take it back and buy the simplest two white cloths they could find, saying that these would remain on him only a short time, and that soon Allah would replace them, either with the best of garments or the most wretched, depending on his standing with his Lord. What matters, he was teaching them, is not the cloth they bury you in, but the state of your iman when you meet Allah. On the last night, his fever burning, he prayed, and near dawn he kept repeating, I seek refuge in Allah from waking to the Fire. After Fajr, when death came to him, he said that his beloved one had come at a time of need, that the one who regrets will not succeed, and then, all praise is due to Allah who saved me from the trial, who took me before it came. He wore a ring engraved with the words "all praise is due to Allah," and on those very words he died.

What Hudhayfah's life asks of our faith

Near the end of his life, a young man from Kufa came to Hudhayfah and said what so many of the next generation said to the companions: you got to be with the Prophet ﷺ, how wonderful that must have been. If we had lived then, we would never have let the feet of the Messenger of Allah touch the ground; we would have carried him on our shoulders. Hudhayfah looked at him and told him the truth.

He told him about the night of the trench, when the believers were starving, freezing, and besieged. The Prophet ﷺ asked, three times, who among them would creep out into the dark and spy on the enemy. Three times, no one rose. These were not lesser men; they were the best generation, and they were beaten down to the edge of what a body can endure. Only when the Prophet ﷺ called Hudhayfah by name did he go, slipping among the enemy in the pitch black, where one wrong word would have meant his death. He saw the storm Allah had sent tearing the enemy's tents apart, heard Abu Sufyan call the siege off, and could have killed him with a single arrow, but he had been told only to gather news, so he held his hand. The point of the whole story is the honesty in it. You say now that you would have carried the Prophet ﷺ on your shoulders, Hudhayfah was saying, but you do not know what you would have done on a night like that. Be grateful for the time Allah placed you in, and for the ease He spared you.

This is the first thing his life asks of you. Stop imagining the grand sacrifice you would make in some other age, and look at the small, real faithfulness Allah is asking of you tonight. Hudhayfah's whole life was built out of ordinary acts of integrity done for the sake of Allah: keeping an oath when breaking it would have been easy, forgiving a wrong when vengeance was his right, giving away a fortune when no one would have blamed him for keeping it, governing an empire and taking only bread for himself. None of these were spectacular in the moment. All of them were sincere, done for Allah alone. The quality to take from him is amanah, trustworthiness before Allah, the inner faithfulness that makes you the same person in private that you appear to be in public. He was given the secret of the hypocrites precisely because there was no gap in him between the seen and the unseen. Ask whether there is a gap in you, and begin, today, to close it: an honest word where a small lie would be smoother, a promise kept that no one would have held you to, a prayer prayed slowly and with stillness because Allah is watching even when no person is.

And learn from how he feared. While others asked about the good, he asked about the evil, because he knew his own heart could be lost and he refused to be careless with it. That fear was not despair; it was the opposite. It kept him awake, kept him sincere, kept him asking Allah's forgiveness for others until he died. A heart that fears hypocrisy is a heart still alive to its faith. So examine yourself the way he examined himself. Do you say what you do not do? Is your trust, your amanah, with your Lord and with people intact, or is it being lifted from you a little at a time while you sleep? The cure he pointed to was the remembrance of meeting Allah, the same remembrance that let a dying man wave away an expensive shroud as a thing of no weight at all.

Hudhayfah carried a secret his whole life and never broke it. The deeper secret of his life is no secret at all: that a person who is faithful to Allah in the small and hidden things will be trusted by Allah with the great ones, and will be taken to Him in peace. May Allah be pleased with Hudhayfah ibn al-Yaman, make firm in our hearts the faith and trustworthiness that filled his, protect us from hypocrisy as He protected him, and gather us with the keeper of the secret and with the beloved Messenger he served.

This chapter follows the account of Hudhayfah ibn al-Yaman (RA) in Dr. Omar Suleiman's series The Firsts (Yaqeen Institute). The Qur'an translation is from M.A.S. Abdel Haleem (12:92). Where the histories carry more than one narration, the most widely reported has been followed.

Questions

Who was Hudhayfah ibn al-Yaman?
A companion of the Prophet Muhammad ﷺ from among the Ansar of Madinah, known as the Secret Keeper because the Prophet ﷺ entrusted him with the names of the hypocrites. He narrated more than three hundred hadith, many about future trials.
Why is Hudhayfah called the Secret Keeper?
The Prophet ﷺ confided to him alone the names of the hypocrites in Madinah. Hudhayfah guarded that secret faithfully for the rest of his life, never exposing anyone, which is why the hypocrites felt uneasy around him.
What happened to Hudhayfah's father?
His father, known as al-Yaman, went out to fight at the Battle of Uhud despite his age and was killed by accident by other Muslims who took him for an enemy in the confusion. Hudhayfah forgave them immediately and kept asking Allah to forgive them.
What can we learn from the life of Hudhayfah?
The weight of being trustworthy, the grace of forgiving quickly, staying humble when given power, and guarding your own heart against hypocrisy by remembering the trials and the hereafter.

Watch the episode

This story is retold from Dr. Omar Suleiman's series The Firsts (Yaqeen Institute). Watch the original on YouTube:

Watch on The Firsts

A companion in your calendar, every day.

Subscribe, free