The Bharatiya Nyaya Sanhita, 2023
Of right of private defence
34. Things done in private defence.
Nothing is an offence which is done in the exercise of the right of private defence.