o you who believe! when believing women come to you as emigrants examine them allah knows best as to their faith then if you ascertain that they are true believers send them not back to the disbelievers. they are not lawful for the disbelievers nor are the disbelievers lawful for them. but give them that which they have spent . and there will be no sin on you to marry them if you have paid their due to them. likewise do not keep the disbelieving women and ask for that which you have spent and let them ask for that which they have spent. that is the judgement of allah he judges between you. and allah is allknowing allwise.
يا أيها الذين آمنوا إذا جاءكم المؤمنات مهاجرات فامتحنوهن الله أعلم بإيمانهن فإن علمتموهن مؤمنات فلا ترجعوهن إلى الكفار لا هن حل لهم ولا هم يحلون لهن وآتوهم ما أنفقوا ولا جناح عليكم أن تنكحوهن إذا آتيتموهن أجورهن ولا تمسكوا بعصم الكوافر واسألوا ما أنفقتم وليسألوا ما أنفقوا ذلكم حكم الله يحكم بينكم والله عليم حكيم