Ganesh vs. State of Tamil Nadu and others18. 16. It can thus be seen that no hard and fast rule can be laid down insofar as the maintainability of a habeas corpus petition in the matters of custody of a minor child is concerned. As to whether the writ court should exercise its extraordinary jurisdiction under Article 226 of the Constitution of India or not will depend on the facts and circumstances of each case. 18 2022 SCC OnLine SC 885 1617. In the present case, it will be relevant to refer to the case pleaded by the respondent-father. The learned Single Judge of the High Court himself recorded the submissions of the respondent-father in the impugned judgment as under: “He further submitted that when the wife of the petitioner died, then at that point of time due to psychological and social reasons, the child was sent to the maternal grand-parents which was the need of the hour at that time since the petitioner himself was also under psychological stress and a family environment was