Bharatiya Nyaya Sanhita, 2023
Chapter 06 Offences Affecting The Human Body
Section 126: Wrongful restraint.
Exception: The obstruction of a private way over land or water which a person in good faith believes himself to have a lawful right to obstruct, is not an offence within the meaning of this section.
Illustration: A obstructs a path along which Z has a right to pass, A not believing in good faith that he has a right to stop the path. Z is thereby prevented from passing. A wrongfully restrains Z.