believers when believing immigrant women come to you test them. god knows best about their faith. if you know that they are believers do not return them to the disbelievers. such women are not lawful for them and disbelievers are not lawful for such women. give the disbelievers whatever they have spent . there is no offense for you to marry them if you agree to give them their dowry. do not hold unto your disbelieving wives you may get back what you have spent on them for their dowry and the disbelievers may also ask for what they have spent. this is the command of god by which he judges you. god is allknowing and allwise.
يا أيها الذين آمنوا إذا جاءكم المؤمنات مهاجرات فامتحنوهن الله أعلم بإيمانهن فإن علمتموهن مؤمنات فلا ترجعوهن إلى الكفار لا هن حل لهم ولا هم يحلون لهن وآتوهم ما أنفقوا ولا جناح عليكم أن تنكحوهن إذا آتيتموهن أجورهن ولا تمسكوا بعصم الكوافر واسألوا ما أنفقتم وليسألوا ما أنفقوا ذلكم حكم الله يحكم بينكم والله عليم حكيم