So, they accept Islam and pledge alliance with the Prophet, which is the beginning of Islam among the Ansar. They become a believer of Allah and the follower of Prophet Muhammed before the Jews could make an attempt.
Though the Ansar were long time allies of the Jews, whenever they had a quarrel, the Jews will humiliate them, saying that a Prophet is coming and they will accept him, they will often say ‘we shall kill you similar to the killing of Aad and Iram’
The group of Ansar that accept Islam
Ibn Ishaq said: According to what I was informed, there were six of them, all from the Khazraj.
Moosa Ibn ‘Uqbah, according to what he narrated from Az-Zuhri and Urwah Ibn Zubair, said that in their first meeting with him they numbered eight all of whom accepted Islam and promised him to return the following year.
The Ansar asked for a religion teacher
So they returned to their people and invited them to Islam. They sent Mu‘adh Ibn ‘Afra and Rafi‘ Ibn Malik to Allah’s Messenger, peace and blessings of Allah be upon him, requesting him to send to them a man who would teach them (the religion). Allah’s Messenger, peace and blessings of Allah be upon him, sent Mus‘ab Ibn ‘Umair to them. He arrived in Madinah and stayed with Asad Ibn Zurarah.
Then he mentioned the story in full as shall be presented by Ibn Ishaq shortly in a more complete form than that of Moosa Ibn ‘Uqbah. And Allah knows best.
Ibn Ishaq said, when the group got to their people in Madinah, they mentioned Allah’s Messenger, peace and blessings of Allah be upon him, to them and invited them to Islam so much so that it spread amongst them. There was no house from the quarters of the Ansars except that there was the talk about the Messenger of Allah, peace and blessings of Allah be upon him. The following year, twelve individuals of the Ansars gathered on the occasion of the Hajj pilgrimage.
These twelve individuals witnessed the pilgrimage of that year and they decided upon meeting with the Messenger of Allah, peace and blessings of Allah be upon him. They met him at Al-‘Aqabah and they gave him a pledge there similar to that of the women. That was the first ‘Aqabah.
Ibn Ishaq related that ‘Ubadah Ibn Samit said: “I was among those who witnessed the first ‘Aqabah and we were twelve men. We gave Allah’s Messenger, peace and blessings of Allah be upon him, our pledge (similar to that) of women, i.e. before the fighting was obligated, that we shall not associate any partner with Allah, we shall not steal, we shall not commit adultery, we shall not kill our children, we shall not utter slander, intentionally forging falsehood and that we shall not disobey him in righteousness.”
The Prophet, peace and blessings of Allah be upon him, said in response: “Whoever fulfils this will enter Paradise; and whoever commits these sins, his affair rests with Allah who may either punish him or forgive him.” AlBukhari and Muslim have reported similar Hadith.