The Code of Criminal Procedure, 1898
Section 100Search for persons wrongfully confined.
Part III GENERAL PROVISIONS
Chapter VII OF PROCESSES TO COMPEL THE PRODUCTION OF DOCUMENTS AND OTHER MOVABLE PROPERTY, AND FOR THE DISCOVERY OF PERSONS WRONGFULLY CONFINED
C.-Discovery of Persons Wrongfully Confined
s. 100
100. Search for persons wrongfully confined If any [Metropolitan Magistrate], Magistrate of the first class or [or an Executive Magistrate] has reason to believe that any person is confined under such circumstances that the confinement amounts to an offence, he may issue a search- warrant, and the person to whom such warrant is directed may search for the person so confined; and such search shall be made in accordance therewith, and the person, if found, shall be immediately taken before a Magistrate, who shall make such order as in the circumstances of the case seems proper.