O you who have faith! When faithful women come to you as immigrants,1 test them. Allah knows best [the state of] their faith. Then, if you ascertain them to be faithful women, do not send them back to the faithless. They2 are not lawful for them,3 nor are they4 lawful for them.5 And give them6 what they have spent [for them].7 There is no sin upon you in marrying them when you have given them their dowries. Do not hold on to [conjugal] ties with faithless women. Ask [the infidels] for what you have spent, and let the faithless ask for what they have spent.8 That is the judgment of Allah; He judges between you; and Allah is all-knowing, all-wise.