Pl read this judgement .
https://indiankanoon.org/doc/1102806/
The relevant extarct is as under:-
25. The conclusion, to our mind, is, therefore, inescapable that the offence of bigamy by Parsi or a Hindu is an offence created by and under Section 5 of the Parsi Marriage & Divorce Act or Section 17 of the Hindu Marriage Act, as the case may be, and is also punishable only under either of those Sections and not under Sections 494 and 495 of the Penal Code, though the latter Sections have stood engrafted and incorporated in the former Sections as inseparable adjuncts. Section 511 of the Penal Code providing for punishment for attempt to commit an offence can apply, as its express terms manifest, only to an attempt to commit an offence "punishable by this Code", i.e. the Penal Code. As Section 511 of the Penal Code cannot apply to any offence created by and punishable under any Special Law, such Special Law usually provides specifically for the offence of attempt to commit such offence, whenever the concerned Legislature intends to punish such attempt, e.g., Section 78 of the Essential Commodities Act, 1955.
26. We, therefore, hold that though, in our view, the accused, alleged to be the husband to the
second marriage, clearly attempted to commit bigamy, he can neither be convicted nor punished in the absence of an enabling penal provision in the Hindu Marriage Act to that effect.
27. We, accordingly, allow the revision, but we do so with some amount of reluctance because
though we are satisfied that the accused committed or at least attempted to commit a grave social offence, the same is going beyond the reach of our law, notwithstanding its proverbial long arms, as it is not made punishable under any law for the time being in force. We, therefore, set aside the Subir Kumar Kundu Alias Sambhu vs State Of West Bengal on 19 December, 1990
order of conviction and the sentence imposed by the trial Court and affirmed by the appellate Court and acquit the accused persons, who shall stand discharged from their bail-bonds. Records, with a copy of our judgment to go down to the trial Court at once.
Ajoy Nath Ray, J.
28. I agree.