After defeat by the Quraish at the
Mount Uhud in March, 625, the Banu Nadir challenged Muhammad as the leader of Medina. In July of the same year, two men were killed by a Muslim named ʿAmr ibn Umayya al-Ḍamrī. Because he and the Banū al-Naḍīr were both obliged by virtue of an agreement with the Banū ʿĀmir to pay the blood money, he visited the Naḍīr in order to negotiate their relative contributions to the blood money. Initially most of the Nadir, except
Huyayy ibn Akhtab, were inclined to accept Muhammad's request. However,
Ibn Ubayy communicated to ibn Akhtab of his intent, along with allied nomads, to attack Muhammad. The Nadir, then postponed the contribution until later that day. Muhammad left the locality immediately accusing the Banu Nadir of plotting to assassinate him, saying to have learned this either through revelation According to other sources, the Banu Nadir invited Muhammad to their habitations for a religious debate, to which Muhammad accepted. Muhammad also accepted the condition that he bring no more than three men with him. On his way he was notified by a Banu Nadir convert to Islam of an assassination attempt at the debate.
Huyayy ibn Akhtab decided to put up resistance, hoping also for help from the
Banu Qurayza, despite opposition within the tribe. Most of Banu Nadir found refuge among the Jews of Khaybar, while others emigrated to
Syria. Muhammad divided their land between his companions who had emigrated with him from Mecca. Until then, the emigrants had to rely upon the Medinese sympathizers for financial assistance. Muhammad reserved a share of the seized land for himself, which also made him financially independent. Upon expulsion of the Banu Nadir, Muhammad is said to have received a revelation of the Surah
al-Hashr. ==Battle of Trench: 627==