Act done in good faith for benefit of child or insane person, by or by consent of guardian
IPC 89 (Act done in good faith for benefit of child or insane person, by or by consent of guardian) corresponds most closely to BNS 27, Act done in good faith for benefit of child or person of unsound mind, by, or by consent of guardian, on a text comparison scoring 91 per cent. The Indian Penal Code, 1860 was repealed with effect from 01 Jul 2024, but conduct before that date is still charged, tried and appealed under it.
Repealed · Indian Penal Code
Section 89 Act done in good faith for benefit of child or insane person, by or by consent of guardian
Nothing which is done in good faith for the benefit of a person under twelve years of age, or of unsound mind, by or by consent, either express or implied, of the guardian or other person having lawful charge of that person, is an offence by reason of any harm which it may cause, or be intended by the doer to cause or be known by the doer to be likely to cause to that person: Provided-
Provisos.
Provisos.-First.-That this exception shall not extend to the intentional causing of death, or to the attempting to cause death;
Secondly.-That this exception shall not extend to the doing of anything which the person doing it knows to be likely to cause death, for any purpose other than the preventing of death or grievous hurt, or the curing of any grievous disease or infirmity;
Thirdly.-That this exception shall not extend to the voluntary causing of grievous hurt, or to the attempting to cause grievous hurt, unless it be for the purpose of preventing death or grievous hurt, or the curing of any grievous disease or infirmity;
Fourthly.-That this exception shall not extend to the abetment of any offence, to the committing of which offence it would not extend.
Illustration
A, in good faith, for his child's benefit without his child's consent, has his child cut for the stone by a surgeon knowing it to be likely that the operation will cause the child's death, but not intending to cause the child's death. A is within the exception, in as much as his object was the cure of the child.
In force · Bharatiya Nyaya Sanhita
Section 27 Act done in good faith for benefit of child or person of unsound mind, by, or by consent of guardian
Nothing which is done in good faith for the benefit of a person under twelve years of age, or person of unsound mind, by, or by consent, either express or implied, of the guardian or other person having lawful charge of that person, is an offence by reason of any harm which it may cause, or be intended by the doer to cause or be known by the doer to be likely to cause to that person:
Provided that this exception shall not extend to---
(a) the intentional causing of death, or to the attempting to cause death;
(b) the doing of anything which the person doing it knows to be likely to cause death, for any purpose other than the preventing of death or grievous hurt, or the curing of any grievous disease or infirmity;
(c) the voluntary causing of grievous hurt, or to the attempting to cause grievous hurt, unless it be for the purpose of preventing death or grievous hurt, or the curing of any grievous disease or infirmity;
(d) the abetment of any offence, to the committing of which offence it would not extend.
Illustration.
A, in good faith, for his child's benefit without his child's consent, has his child cut for the stone by a surgeon knowing it to be likely that the operation will cause the child's death, but not intending to cause the child's death. A is within the exception, in as much as his object was the cure of the child.
Other provisions with similar text
The next closest matches, in order. Where a provision was split or merged, the answer is often more than one of these.
How this table was made, and what it is not
There is no official machine-readable correspondence between the Indian Penal Code, 1860 and the Bharatiya Nyaya Sanhita, 2023. The Ministry published comparison charts for human readers; nothing exists that a computer can check. So this is not an official mapping and we do not present it as one.
What it measures is how alike the text of two provisions is. For each provision of the old enactment we compare its words against every provision of the new one and report the closest, with the score. That works here because the new codes are largely a renumbering rather than a rewrite: where a provision carried over near-verbatim the match is self-evidencing, and you can see it for yourself, because both texts are set out side by side on every entry.
Where the law genuinely changed, the score falls and the entry says no close match found rather than offering a guess. Those entries matter: they are where the reform actually did something.
Check before you cite. A high score means the words are alike, not that a court has held the provisions equivalent. For that, read both texts and the Gazette.
Source and method. Compiled from the enactments of Parliament and of the State legislatures as published on India Code, and republished together with commentary and other original matter under section 52(1)(q)(ii) of the Copyright Act, 1957. Structured, cross-referenced and maintained by eCourtsIndia. This page is not a substitute for legal advice.