Nothing is an offence by reason that it causes, or that it is intended to cause, or that it is known to be likely to cause, any harm, if that harm is so slight that no person of ordinary sense and temper would complain of such harm"
Of the Right of Private Defence
91 IPC Exclusion of acts which are offences independently of harm cause
92 IPC Act done in good faith for benefit of a person without consent
93 IPC Communication made in good faith
94 IPC Act to which a person is compelled by threats
95 IPC Act causing slight harm
96 IPC Things done in private defence
97 IPC Right of private defence of the body and of property
98 IPC Right of private defence against the act of a person of unsound mind, etc
99 IPC Acts against which there is no right of private defence
100 IPC When the right of private defence of the body extends to causing death