A woman among the Ansar would often have her children die young, so she would vow that if a child of hers lived, she would raise him as a Jew. When Banu al-Nadir were expelled, there were among them some sons of the Ansar.The Ansar said, "Messenger of Allah, what about our sons?"So Allah revealed this verse, "There is no compulsion in religion" [Baqarah 2:256].Saeed bin Jubayr said, "Whoever wished joined them, and whoever wished entered Islam."
في قوله تعالى: {لا إكراه في الدين} [البقرة: ٢٥٦]
كانت المرأة من الأنصار لا يكاد يعيش لها ولد فتحلف: لئن عاش لها ولد لتهودنه. فلما أجليت بنو النضير إذا فيهم ناس من أبناء الأنصار. فقالت الأنصار: يا رسول الله، أبناؤنا، فأنزل الله هذه الآية {لا إكراه في الدين}. قال سعيد بن جبير: فمن شاء لحق بهم، ومن شاء دخل في الإسلام.
Ibn Hibban narrated it in his Sahih (140) from Ishaq bin Ibrahim bin Ismail in Bust, who said, Hasan bin Ali Hulwani narrated to us, who said, Wahb bin Jareer narrated to us, who said, Shubah narrated to us, from Abu Bishr, from Saeed bin Jubayr, from Ibn Abbas, and he mentioned it. Its chain is sahih, and Abu Bishr is Jafar bin Iyas bin Abu Wahshiya, who was among the most reliable narrators regarding Saeed bin Jubayr.Abu Dawud (2682) also narrated it from Hasan bin Ali Hulwani with his chain, similarly, and in it, "A woman who kept losing her children would vow that if a child of hers survived, she would make him a Jew," except that he did not attribute it to the Prophet, though its ruling is that of a marfu narration.As for his word "muqlat," Abu Dawud said that the muqlat is a woman whose children do not survive.