S 26 of Hindu Marriage Act :- Custody of children:- In any proceeding under this Act, the court may from time to time pass such interim orders and make such provisions in the decree as it deems fit just and proper with respect to custody, maintenance and education of minor children, consistently with their wishes, where ever possible.
1) Child's Best Interests: The paramount consideration is the best interests of the child. The judge will assess how various custody arrangements may promote the child's physical, emotional, and psychological well-being.
2) Child's Age and Preference: The child's age and maturity are significant factors. Older and more mature children may have their preferences considered, but the judge will ultimately determine if those preferences are in the child's best interests.