General rule is usually that divorced wife is entitled to custody right up until 7 yrs for males (classical Hanafi place) and puberty for girls, issue to classical problems, though there is some flexibility as best pursuits on the ward are deemed paramount according to Guardians and Wards Act, 1890. https://familylawyerinkarachi63307.ampblogs.com/a-review-of-child-custody-68967217