Whenever the impediment is removed, or the person with the stronger claim has waived his right1 and then wishes to reclaim it, that right is restored to him.
If one of the parents intends to travel and return, the parent who remains is more entitled to custody. However, if the journey is for permanent relocation and covers the distance that allows shortening the prayer, the father has priority; if it is shorter than that, the mother has priority.
Section
When a boy reaches seven years of age and is of sound mind, he is given the choice between his parents. Should he choose his father, he stays with him night and day, yet he is not prevented from visiting his mother, nor she from visiting him. Should he choose his mother, he stays with her at night and with his father during the day so that the father may discipline and instruct him.
When a girl reaches seven, she must stay with her father until she marries. He, and anyone who acts on his behalf, must prevent her from being alone in seclusion. The mother is not barred from visiting her, nor is she barred from visiting her mother, provided no moral corruption is feared.
An insane person—even if female—remains with the mother under all circumstances.
A child under custody must never be left in the care of someone who will not safeguard and tend to him.