Section 9(4) in The Hindu Adoptions And Maintenance Act, 1956
(4)Where both the father and mother are dead or have completely and finally renounced the world or have abandoned the child or have been declared by a court of competent jurisdiction to be of unsound mind or where the parentage of the child is not known, the guardian of the child may give the child in adoption with the previous permission of the court to any person including the guardian himself.