Battle of Khaybar
Suggest editHistorical Background
The Battle of Khaybar took place in Muharram 7 AH (May–June 628 CE), shortly after the Treaty of Hudaybiyyah had temporarily secured peace with the Quraysh in the south. Khaybar was a powerful, fortified settlement approximately 150 kilometers north of Madinah, inhabited primarily by the Banu Nadir tribe — the same tribe that had been expelled from Madinah after plotting to assassinate the Prophet ﷺ. From Khaybar, they had been the principal organizers of the Ahzab coalition, using their wealth to finance and recruit the Confederate army that besieged Madinah in the Battle of the Trench.
With the Quraysh threat temporarily neutralized by the Treaty of Hudaybiyyah, the Prophet ﷺ turned to address the ongoing military threat posed by Khaybar. The campaign was also limited to companions who had participated in the pledge of Hudaybiyyah, and the Quran promised the spoils of Khaybar specifically to them (Quran 48:18–19), which is itself evidence of the event's Quranic significance.
The Campaign
The Prophet ﷺ marched with approximately 1,400–1,600 companions and arrived at Khaybar by night, setting up camp. Khaybar consisted of several fortified complexes, each requiring its own siege. The Muslims methodically reduced the fortresses one by one over several weeks. Among the most formidable was the fortress of al-Qamus, held by the powerful Marhab and his warriors.
A famous episode at Khaybar involved the conferring of the battle standard. The Prophet ﷺ declared: 'Tomorrow I will give this flag to a man who loves Allah and His Messenger, and Allah and His Messenger love him. Allah will grant conquest at his hands.' That night, every companion hoped to be chosen. The next morning, the Prophet ﷺ called for Ali ibn Abi Talib ؓ, who was suffering from an eye ailment. He treated Ali's eyes with his saliva, gave him the flag, and Ali ؓ led the assault that broke the fortress, including a famous single combat in which he killed the warrior Marhab (Sahih al-Bukhari 4210; Sahih Muslim 2406).
Settlement Terms and Legal Precedents
After the conquest, the Prophet ﷺ made a pragmatic decision: rather than expelling the inhabitants entirely or distributing the land among the fighters, he allowed the people of Khaybar to remain on their land and continue farming it, in exchange for surrendering half of their annual produce to the Muslim community. This arrangement, agreed upon explicitly as temporary and revocable at the Prophet's discretion, established important legal precedents in Islamic law regarding agricultural partnerships (muzara'ah and musaqah), the management of conquered territories, and the treatment of non-Muslim populations under Islamic governance.
During the aftermath of Khaybar, the Jewish woman Zaynab bint al-Harith attempted to assassinate the Prophet ﷺ by poisoning a roasted sheep she presented to him. The Prophet ﷺ sensed the poison, spat out the meat, and reportedly told his companions what had happened. The companion Bishr ibn al-Bara, who had already swallowed some, died from the poison. Zaynab was brought before the Prophet ﷺ and confessed. This attempted assassination did not alter the mercy shown to the overall population.
Significance
The conquest of Khaybar secured the northern flank of the Muslim state, eliminated a persistent source of military and financial opposition, and significantly strengthened the economic position of the Muslim community in Madinah. It also freed the path for subsequent diplomatic and military operations that would culminate in the conquest of Makkah the following year. The wealth acquired at Khaybar — including significant quantities of dates, grain, and livestock — transformed the material situation of the early Muslim community.
The Battle of Khaybar is also remembered for the liberation of Safiyyah bint Huyayy, the daughter of the Banu Nadir chieftain, whom the Prophet ﷺ freed and married, a union that had significant political implications in affirming the Prophet's policy of reconciliation over permanent enmity.