Skip to main content
100 views · 3 min read · Last updated 14 Aug 2026

Ḥudhayfah ibn al-Yamān (d. 36 AH/656 CE) was a companion of the Prophet Muḥammad ﷺ renowned in the sīrah and early Islamic tradition as the “Keeper of the Secret of the Messenger of Allah.” The son of al-Yamān ibn Jābir, an ally of the Aws of Madīnah, he embraced Islam before the Hijrah and became one of the Prophet’s ﷺ closest and most trusted companions. While many companions were known for their military exploits, legal knowledge, or transmission of ḥadīth, Ḥudhayfa gained particular distinction through the confidence that the Prophet ﷺ placed in him, especially concerning matters relating to the hypocrites (munāfiqūn) of Madīnah.

Ḥudhayfah participated in many of the major events of the Prophet’s ﷺ career. Although he was unable to fight at Badr because he and his father had been compelled by the Quraysh to promise neutrality, the Prophet ﷺ excused them from participation and honored their pledge. He later took part in Uḥud, where his father was accidentally killed by Muslim soldiers amid the confusion of battle. Ḥudhayfa immediately forgave those responsible and donated the blood-money to charity, an act that increased him in the esteem of the Prophet ﷺ. His loyalty and devotion thereafter secured him a prominent place among the companions.

His most celebrated role in the sīrah occurred during the Battle of the Trench (Ghazwat al-Khandaq) in 5 AH/627 CE. On a bitterly cold and dangerous night, when the confederate forces besieged Madīnah, the Prophet ﷺ selected Ḥudhayfa to infiltrate the enemy camp and gather intelligence. Entering the camp unnoticed, he observed the growing disorder among the confederates as wind and fear spread through their ranks. Returning safely to the Prophet ﷺ, he reported that the enemy alliance was collapsing. The information he provided confirmed the approaching end of the siege and became one of the most famous episodes of intelligence-gathering in the maghāzī tradition.

Ḥudhayfah is remembered above all for the trust reposed in him by the Prophet ﷺ concerning the identities of certain hypocrites in Madīnah. The Prophet ﷺ confided their names to him, and for this reason he became known as the custodian of one of the most sensitive secrets of the early Muslim community. After the Prophet’s ﷺ death, leading companions occasionally sought his judgment regarding individuals whose sincerity was questioned. He also became a respected transmitter of ḥadīth, particularly reports concerning trials, tribulations, and the signs of future discord.

Ḥudhayfah survived into the caliphates of Abū Bakr, ʿUmar, and ʿUthmān and served in the Muslim conquests of Iraq and Persia. He was appointed governor of al-Madāʾin and earned a reputation for piety, humility, and asceticism. He died in 36 AH/656 CE, shortly after the accession of ʿAlī ibn Abī Ṭālib. In the sīrah tradition, Ḥudhayfa ibn al-Yamān is remembered as a trusted confidant of the Prophet ﷺ, a courageous participant in the major events of the early Muslim community, and a companion whose insight into matters of faith and hypocrisy made him one of the most respected figures of the first generation of Islam.

References

  1. Muḥammad ibn Ismāʿīl al-Bukhārī, Ṣaḥīḥ al-Bukhārī, “Kitāb al-Maghāzī,” bāb ghazwat al-Khandaq; “Kitāb al-Fitan.”