The Code of Criminal Procedure, 1973 (CrPc)
76. Person arrested to be brought before court without delay.
The police officer or other person executing a warrant of arrest shall (subject to the provisions of section 71 as to security) without unnecessary delay bring the person arrested before the court before which he is required by law to produce such person:
Provided that such delay shall not, in any case, exceed twenty-four hours exclusive of the time necessary for the journey from the place of arrest to the Magistrate’s court.