6. Natural guardians of a Hindu minor

(a) in the case of a boy or an unmarried girl the father, and after him, the mother;
provided that the custody of a minor who has not completed the age of five years shall ordinarily be with the mother;
(b) in the case of an illegitimate boy or an illegitimate unmarried girl the mother, and after her, the father;
(c) in the case of a married girl the husband:
(a) if he has ceased to be a Hindu, or
(b) if he has completely and finally renounced the world becoming a hermit ( vanaprastha ) or an ascetic ( yati or sanyasi ).
Explanation