Jurisdiction for custody of minor is governed by Section 9 of the Guardians & Wards Act, 1890.which reads as:
Section 9 in The Guardians and Wards Act, 1890
9. Court having jurisdiction to entertain application.—
(1) If the application is with respect to the guardianship of the person of the minor, it shall be made to the District Court having jurisdiction in the place where the minor ordinarily resides.
(2) If the application is with respect to the guardianship of the property of the minor, it may be made either to the District Court having jurisdiction in the place where the minor ordinarily resides or to a District Court having jurisdiction in a place where he has property.
(3) If an application with respect to the guardianship of the property of a minor is made to a District Court other than that having jurisdiction in the place where the minor ordinarily resides, the Court may return the application if in its opinion the application would be disposed of more justly or conveniently by any other District Court having jurisdiction.