Section 497 in The Indian Penal Code
497. Adultery.—Whoever has s*xual intercourse with a person who is and whom he knows or has reason to believe to be the wife of another man, without the consent or connivance of that man, such s*xual intercourse not amounting to the offence of rape, is guilty of the offence of adultery, and shall be punished with imprisonment of either descripttion for a term which may extend to five years, or with fine, or with both. In such case the wife shall not be punishable as an abettor.
All sections are in Favour of Women . These are gender Biased laws in india . Even in IPC 497 only the man is perscuted .
Domestic violence case too is in favour of Women .
The court can send the child for a DNA test to conclude the case .