Act not intended and not known to be likely to cause death or grievous hurt, done by consent is defined under section 87 of ipc. Provisions under IPC section 87 explained here:
What is Section 87 IPC:
Nothing which is not intended to cause death, or grievous hurt, and which is not known by the doer to be likely to cause death or grievous hurt, is an offence by reason of any harm which it may cause, or be intended by the doer to cause, to any person, above eighteen years of age, who has given consent, whether express or implied, to suffer that harm; or by reason of any harm which it may be known by the doer to be likely to cause to any such person who has consented to take the risk of that harm.
- A and Z agree to fence with each other for amusement. This agreement implies the consent of each to suffer any harm which, in the course of such fencing, may be caused without foul play; and if A, while playing fairly, hurts Z, A commits no offence.
Section 87 IPC Explanation:
This section means that if an act done which is not intended to cause death or grevious hurt, which is not intended by one who does that act is not an offence for whatever harm it causes to other person, or if persons above 18 years of age have consented that harm can be caused then the one who does the act will not be liable. as they had consented (express, implied). For eg A & B decided to play boxing if anyone of them gets serious hurt during the act other cannot be held liable for the injury caused.