The custody of children is both a right and duty of the mother, whether Muslim or not, so long as the child is in need of this care. When children, girls or boys, are no longer in need of care, they are to choose which parent they wish to live with if both parents are Muslims, whether the child is male or female. If however one of the parents was a non-Muslim, then there is no choice for the child; but he/she rather joins the Muslim parent.