Section 3 of Prisoners Act, 1956

Section 1 The delivery of arrested persons to the Superintendent for intermediate custody. The arrested person must be brought before the court that issued the warrant or order