As per apnaqanoon,Legal Age of Child Custody after Divorce
In Pakistani qanoon the custody of a minor is given to the mother, this right is called the right of (Hizanat). But after the age of seven years, the mother’s right over the son ends however it is not an absolute right it is made in the interest of the boy according to qanoon*