o you who believe! when believing women come to you emigrating test them. god is aware of their faith. and if you find them to be faithful do not send them back to the unbelievers. they are not lawful for them nor are they lawful for them. but give them what they have spent. you are not at fault if you marry them provided you give them their compensation. and do not hold on to ties with unbelieving women but demand what you have spent and let them demand what they have spent. this is the rule of god he rules among you. god is knowing and wise.
يا أيها الذين آمنوا إذا جاءكم المؤمنات مهاجرات فامتحنوهن الله أعلم بإيمانهن فإن علمتموهن مؤمنات فلا ترجعوهن إلى الكفار لا هن حل لهم ولا هم يحلون لهن وآتوهم ما أنفقوا ولا جناح عليكم أن تنكحوهن إذا آتيتموهن أجورهن ولا تمسكوا بعصم الكوافر واسألوا ما أنفقتم وليسألوا ما أنفقوا ذلكم حكم الله يحكم بينكم والله عليم حكيم