Freedom of Religion 60:10
Oh you who obey Allah and are truthful, when compliant and credible women leave their homes for Allah and arrive as refugees, get to know them and their intentions. And Allah knows best their submission and belief. When you become aware that they are sincere and submit to Allah, do not treat them as enemies or send them back to the unbelievers . . .
Prophet Muhammad, armed with the Quran, gave women many rights they did not have previously. The right to ownership, inheritance and education to name a few. Prophet Muhammad said, “Education is an obligation on everyone, male and female.” However, there was no greater right than to leave the practice of idolatry and embrace the worship of the One, True God, Allah.