Recently, the Supreme Court in Rajeswari Chandrasekar Ganesh v. State of T.N., (2023) 12 SCC 472, after considering the judicial precedents on the subject, has observed and held that it is well established that in issuing the writ of habeas corpus in the case of minors, the jurisdiction which the Court exercises is an inherent jurisdiction as distinct from a statutory jurisdiction conferred by any particular provision in any special statute. In other words, the employment of the writ of habeas corpus in child custody cases is not pursuant to, but independent of any statute. The jurisdiction exercised by the court rests in such cases on its inherent equitable powers and exerts the force of the State, as parens patriae, for the protection of its minor ward, and the very nature and scope of the inquiry and the result sought to be accomplished call for the exercise of the jurisdiction of a court of equity.
The primary object of a habeas corpus petition, as applied to minor children, is to determine in whose custody the best interests of the child will probably be advanced. In a habeas corpus proceeding brought by one parent against the other for the custody of their child, the Court has before it the question of the rights of the parties as between themselves, and also has before it, if presented by the pleadings and the evidence, the question of the interest which the State, as parens patriae, has in promoting the best interests of the child.
That the doctrines of comity of courts, intimate connect, orders passed by foreign courts having jurisdiction in the matter regarding the custody of the minor child, the citizenship of the parents and the child, etc. cannot override the consideration of the best interest and the welfare of the child, and that the direction to return the child to the foreign jurisdiction must not result in any physical, mental, psychological, or other harm to the child.