Ibn Abbas reported that a woman among the Ansar would scarcely have a child who survived, so she would vow that if a child of hers lived, she would raise him as a Jew. When the Banu al-Nadir were expelled, there were among them some sons of the Ansar. The Ansar said, "Messenger of Allah, our sons!" So Allah revealed this verse, "There is no compulsion in religion" [Baqarah 2:256].
في قوله تعالى: {لا إكراه في الدين}
كانت المرأة من الأنصار لا يكاد يعيش لها ولد، فتحلف: لئن عاش لها ولد لتهودنه، فلما أجليت بنو النضير إذا فيهم ناس من أبناء الأنصار، فقالت الأنصار: يا رسول الله، أبناؤنا، فأنزل الله هذه الآية: {لا إكراه في الدين}.
Ibn Hibban (140) narrated it from Ishaq bin Ibrahim bin Ismail in Bust, who said, Hasan bin Ali Hulwani told us, who said, Wahb bin Jareer told us, who said, Shubah told us, from Abu Bishr, from Saeed bin Jubayr, from Ibn Abbas, and he related it. Its chain is sahih, and its narrators are reliable. Abu Bishr, Jafar bin Iyas bin Abu Wahshiya, was among the most reliable people regarding Saeed bin Jubayr.Abu Dawud (2682) also narrated it from Hasan bin Ali Hulwani with the same chain, similarly, and in it, "A woman who had lost her children would make it a vow upon herself that if a child of hers lived, she would make him a Jew," except that he did not attribute it to the Prophet directly, though it carries the ruling of being so attributed.As for his saying "muqlat," Abu Dawud said that the muqlat is a woman whose children do not survive.