The Banu Nadir (Arabic: بنو النضير ) were a Jewish tribe who lived in northern Arabia until the 7th century at the oasis of Yathrib (now known as Medina). The tribe challenged Muhammad as the leader of Medina. and planned along with allied nomads to attack Muhammad  and were expelled from Medina as a result. The Banu Nadir then planned the battle of the Trench together with the Quraysh. They later participated in the battle of Khaybar. 
In early Medina, in addition to the Banu Nadir, there were two other major Jewish tribes: the Banu Qurayza and the Banu Qaynuqa. They were joined centuries later by two non-Jewish Arab tribes from Yemen, Banu Aus and Banu Khazraj.
Like other Medinese Jews, Banu Nadir bore Arabic names, but spoke a distinct dialect of Arabic. They earned their living through agriculture, money lending, and trade in weapons and jewels, maintaining commercial relations with Arab merchants of Mecca. Their fortresses were located half a day's march to the south of Medina. Banu Nadir were wealthy and lived in some of the best lands in Medina.
When the two Arabian tribes of Aws and Khazraj went to war against each other in the Battle of Bu'ath in 617, the three Jewish tribes split on different sides of the war. The Banu Nadir, led by Ka'b ibn al-Ashraf and Huyayy ibn Akhtab, and the Banu Qurayza fought with the Banu Aus, while the Banu Qaynuqa were allied with the Banu Khazraj. The latter were defeated after a long and arduous battle.
Arrival of Muhammad
Muhammad was invited to Medina to broker a peace between the warring tribes, and in September 622 he arrived with a group of his followers, who were given shelter by members of the indigenous community known as the Ansar. Amongst his first actions were the construction of the first mosque in Medina, as well as obtaining residence with Abu Ayyub al-Ansari. He then set about the establishment of a pact, known as the Constitution of Medina, between the Muslims, the Ansar, and the various Jewish tribes of Medina  to regulate the matters of governance of the city, as well as the extent and nature of inter-community relations. The conditions of the pact included boycotting Quraysh, abstinence from "extending any support to them", assistance of one another if attacked by a third party, as well as "defending Medina, in case of a foreign attack".
Reaction to the expulsion of the Banu Qaynuqa
When Muhammad expelled the Jewish tribe of the Banu Qaynuqa, the Banu Nadir did not get involved, viewing the conflict as another example of tribal struggle. The conflict led to a ruling that such future action by any of the other parties under the Constitution of Medina would constitute a voiding of their benefits under the system.
Assassination of Ka'b ibn al-Ashraf
After the Battle of Badr, one of the Banu Nadir's chiefs Ka'b ibn al-Ashraf, went to the Quraish in order to lament the loss at Badr and to incite them to take up arms to regain lost honor, noting the statement of Muhammad: "He (Ka'b) has openly assumed enmity to us and speaks evil of us and he has gone over to the polytheists (who were at war with Muslims) and has made them gather against us for fighting". This was in contravention of the Constitution of Medina, of which the tribe led by Ka'b ibn al-Asharf was a signatory, which prohibited them from "extending any support" to the tribes of Mecca, namely Banu Quraish. Some sources suggest that during his visit to Mecca, Ka'b concluded a treaty with Abu Sufyan, stipulating cooperation between the Quraysh and Jews against Muhammad.
Other historians cite that Ka'b ibn al-Ashraf, who was also a gifted poet, wrote a poetic eulogy commemorating the slain Quraish notables; later, he also wrote erotic poetry about Muslim women, which the Muslims found offensive. This poetry influenced so many  that this too was considered directly against the Constitution of Medina which states, loyalty gives protection against treachery and this document will not (be employed to) protect one who is unjust or commits a crime Muhammad called upon his followers to kill Ka'b. Muhammad ibn Maslama offered his services, collecting four others. By pretending to have turned against Muhammad, Muhammad ibn Maslama and the others enticed Ka'b out of his fortress on a moonlit night, and killed him in spite of his vigorous resistance. Some attribute this action to norms of the Arab society that demand retaliation for a slight to a group's honor. The Jews were terrified at his assassination, and as the historian ibn Ishaq put it "...there was not a Jew who did not fear for his life".
Expulsion from Medina
In July of the same year, two men were killed during skirmish in which the Muslims were involved. As a result Muhammad went to the Nadir, asking them to make a contribution towards the blood money of two men killed. 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.
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.
Muhammad besieged the Banu Nadir. He ordered them to surrender their property and leave Medina within ten days. The tribe at first decided to comply, but "certain people of Medina who were not Believers of Muhammad sent a message to the Banu al-Nadir, saying, 'Hold out, and defend yourselves; we shall not surrender you to Muhammad. If you are attacked we shall fight with you and if you are sent away we shall go with you.'"  Huyayy ibn Akhtab decided to put up resistance, hoping also for help from the Banu Qurayza, despite opposition within the tribe. The Nadir were forced to surrender after the siege had lasted for 14 days, when the promised help failed to materialize and when Muhammad ordered the burning and felling of their palm-trees. Under the conditions of surrender, the Banu Nadir could only take with them what they could carry on camels with the exception of weapons.
The Banu Nadir left on 600 camels, parading through Medina to the music of pipes and tambourines. Al-Waqidi described their impressive farewell: "Their women were decked out in litters wearing silk, brocade, velvet, and fine red and green silk. People lined up to gape at them." Most of Banu Nadir found refuge among the Jews of Khaybar, while others emigrated to Syria. According to Ibn Ishaq, the chiefs of Nadir who went to Khaybar were Sallam b. Abu'l-Huqayq, Kenana ibn al-Rabi and Huyayy b. Akhtab. When these chiefs arrvied in Khaybar, the Jewish inhabitants of Khaybar became subject to them.
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.
Battle of Trench: 627
A number of Jews who had formed a party against Muhammad, including Sallam b. Abu'l-Huqayq, Kenana ibn al-Rabi and Huyayy b. Akhtab, the chiefs of Nadir who had gone to Khaybar, together with two chiefs from the tribe of B. Wa'ili went to Quraysh and invited them to form a coalition against Muhammad so that they might get rid of him altogether. Then they persuaded the tribe of Ghaftan to join the battle against Muhammad. Banu Nadir promised half the date harvest of Khaybar to nomadic tribes if they would join the battle against Muslims. Abu Sufyan, the military leader of Quraysh, with the financial help of Banu Nadir had mustered a force of size 10,000 men. Muhammad was able to prepare a force of about 3000 men. He had however adopted a new form of defense, unknown in Arabia at that time: Muslims had dug a trench wherever Medina lay open to cavalry attack. The idea is credited to a Persian convert to Islam, Salman the Persian. The siege of Medina began on March 31, 627 and lasted for two weeks. Abu Sufyan's troops were unprepared for the fortifications they were confronted with, and after an ineffectual siege lasting several weeks, the coalition decided to go home. The Qur'an discusses this battle in verses Qur'an 33:9-33:27.
Battle of Khaybar: 628
In 628, Muhammad attacked Khaybar. According to William Montgomery Watt, this was motivated by the presence of the Banu Nadir in Khaybar, who were inciting hostilities along with other neighboring Arab tribes, against the Islamic community in Medina. Italian orientalist Laura Veccia Vaglieri claims other motives for the campaign included the prestige it would bring Muhammad among his followers, as well as the intent to capture booty to supplement subsequent campaigns.
Later, Muhammad sent a delegation under Abdullah bin Rawaha to ask another chief of the Banu Nadir, Usayr (Yusayr) ibn Zarim, to come to Medina along with other Nadir leaders to discuss the two groups' political relations. Among whom were Abdullah bin Unays, an ally of Banu Salima, a clan hostile to the Jews. When they came to him they spoke to him and treated him saying that if he would come to Muhammad he would give him an appointment and honour him. They kept on at him until he went with them with a number of Jews. Abdullah bin Unays mounted him on his beast until when he was in al-Qarqara, about six miles from Khaybar, al-Yusayr changed his mind about going with them. Abdullah perceived his intention as he was preparing to draw his sword so he rushed at him and struck him with his sword cutting off his leg. Al-Yusayr hit him with a stick of shauhat wood which he had in his hand and wounded his head. All Muhammad's emissaries fell upon the thirty Jewish companions and killed them except one man who escaped on his feet. Abdullah bin Unays is the assassin who volunteered and got permission to kill Banu Nadir's Sallam ibn Abu al-Huqayq at a previous night mission in Khaybar.
Muhammad and his followers attacked Khaybar in May/June 628 after the Treaty of Hudaybiyyah. Although the Jews put up fierce resistance, the lack of central command and preparation for an extended siege sealed the outcome of the battle in favor of the Muslims. When all but two fortresses were captured, the Jews negotiated their surrender. The terms required them to hand over one-half of the annual produce to the Muslims, while the land itself became the collective property of the Muslim state.
- Stillman (1979), p. 14.
- Watt (1956), p. 211-2.[clarification needed]
- V. Vacca , Encyclopedia of Islam, Banu Nadir
- Bani An-Nadeer Invasion at Witness Pioneer
- Vacca, V. "Nadir, Banu 'l". In P.J. Bearman, Th. Bianquis, C.E. Bosworth, E. van Donzel and W.P. Heinrichs. Encyclopaedia of Islam Online. Brill Academic Publishers. ISSN 1573-3912.
- Stillman, Norman (1979). The Jews of Arab Lands: A History and Source Book. Philadelphia: Jewish Publication Society of America. ISBN 0-8276-0198-0., p. 13–14.
- jewishencyclopedia.com 
- Ibn Kathir, al-Bidaayah wa al-Nihaayah, Vol II, p. 279
- Ibn Hisham, Vol. I, p. 501.
- Saif-ur-Rahman Mubarakfuri, ar-Raheeq al-Makhtoom - "The Sealed Nectar"
- Ibn Hisham, as-Seerat an-Nabaweeyat, Vol. II, p. 147-150.
- Ibn Ishaq, p. 231-235.
- Stillman, Norman (1979). The Jews of Arab Lands: A History and Source Book. Philadelphia: Jewish Publication Society of America. p. 13. ISBN 0-8276-0198-0.
- al-Zurqaani, Sharh al-Muwaahib, Vol II p. 10-12
- Rubin, Uri. The Assassination of Kaʿb b. al-Ashraf. Oriens, Vol. 32. (1990), pp. 65-71.
- William Montgomery Watt. "Ka'b ibn al-Ashraf". In P.J. Bearman, Th. Bianquis, C.E. Bosworth, E. van Donzel and W.P. Heinrichs. Encyclopaedia of Islam Online. Brill Academic Publishers. ISSN 1573-3912.
- Philip K. Hitti, History of the Arabs, 10th edition (Macmillan Press, 1970), p. 90.
- Ibn Hisham (1955). Al-Sira al-Nabawiyya. vol. 2. Cairo. pp. 51–57. English translation from Stillman (1979), p. 125–126.
- Stillman (1979) p. 13
- Ibn Hisham (1955). English translation from Stillman (1979), p. 127.
- al-Halabi, Nur al-Din. Sirat-i-Halbiyyah. 2, part 10. Uttar Pradesh: Idarah Qasmiyyah Deoband. p. 34. Translated by Muhammad Aslam Qasmi.
- The earliest biography of Muhammad, by ibn Ishaq
- Al-Waqidi (1966). Marsden Jones, ed. Kitab al-Maghazi. London. pp. 363–375. English translation from Stillman (1979), p. 136.
- A. Guillaume, The life of Muhammad, Oxford University Press, p.438
- A. Guillaume, The life of Muhammad, Oxford University Press, p.450
- The Encyclopaedia of Islam. New Edition. Vol.4, p.1137 et sqq.
- Watt (1956), p. 36, 37
- Rodinson (2002), pp. 209–211;
- Watt (1964) p. 169
- Veccia Vaglieri, L. "Khaybar", Encyclopaedia of Islam
- Ibn Ishaq, A. Guillaume, p. 665-666
- Veccia Vaglieri, L. "Khaybar". In P.J. Bearman, Th. Bianquis, C.E. Bosworth, E. van Donzel and W.P. Heinrichs. Encyclopaedia of Islam Online. Brill Academic Publishers. ISSN 1573-3912.