A parent entitled to the custody of a child has a right to change his residence, subject to the power of the proper court to restrain a removal which would prejudice the rights or welfare of the child.

SOURCE: CC § 213.