The INDIAN PENAL CODE

GENERAL EXCEPTIONS

Section 96: Things done in private defence.

Nothing is an offence which is done in the exercise of the right of private defence.