Narated By A man from the companions of the Prophet : Abdur Rahman ibn Ka’b ibn Malik reported on the authority of a man from among the companions of the Prophet (PBUH): The infidels of the Quraysh wrote (a letter) to Ibn Ubayy and to those who worshipped idols from al-Aws and al-Khazraj, while the Apostle of Allah (PBUH) was at that time at Medina before the battle of Badr.
(They wrote): You gave protection to our companion. We swear by Allah, you should fight him or expel him, or we shall come to you in full force, until we kill your fighters and appropriate your women.
When this (news) reached Abdullah ibn Ubayy and those who were worshippers of idols, with him they gathered together to fight the Apostle of Allah (PBUH).
When this news reached the Apostle of Allah (PBUH), he visited them and said: The threat of the Quraysh to you has reached its end. They cannot contrive a plot against you, greater than what you yourselves intended to harm you. Are you willing to fight your sons and brethren? When they heard this from the Prophet (PBUH), they scattered. This reached the infidels of the Quraysh.
The infidels of the Quraysh again wrote (a letter) to the Jews after the battle of Badr: You are men of weapons and fortresses. You should fight our companion or we shall deal with you in a certain way. And nothing will come between us and the anklets of your women. When their letter reached the Prophet (PBUH), they gathered Banu an-Nadir to violate the treaty.
They sent a message to the Prophet (PBUH): Come out to us with thirty men from your companions, and thirty rabbis will come out from us till we meet at a central place where they will hear you. If they testify to you and believe in you, we shall believe in you. The narrator then narrated the whole story.
When the next day came, the Apostle of Allah (PBUH) went out in the morning with an army, and surrounded them.
He told them: I swear by Allah, you will have no peace from me until you conclude a treaty with me. But they refused to conclude a treaty with him. He therefore fought them the same day.
Next he attacked Banu Quraysh with an army in the morning, and left Banu an-Nadir. He asked them to sign a treaty and they signed it.
He turned away from them and attacked Banu an-Nadir with an army. He fought with them until they agreed to expulsion. Banu an-Nadir were deported, and they took with them whatever their camels could carry, that is, their property, the doors of their houses, and their wood. Palm-trees were exclusively reserved for the Apostle of Allah (PBUH). Allah bestowed them upon him and gave them him as a special portion.
He (Allah), the Exalted, said: What Allah has bestowed on His Apostle (and taken away) from them, for this ye made no expedition with either camel corps or cavalry.” He said: “Without fighting.” So the Prophet (PBUH) gave most of it to the emigrants and divided it among them; and he divided some of it between two men from the helpers, who were needy, and he did not divide it among any of the helpers except those two. The rest of it survived as the sadaqah of the Apostle of Allah (PBUH) which is in the hands of the descendants of Fatimah (Allah be pleased with her).