When ye ( men ) put away women , put them away for their ( legal ) period and reckon the period , and keep your duty to Allah , your Lord . Expel them not from their houses nor let them go forth unless they commit open immorality .