Code Of Criminal Procedure Act (No. 15 of 1979) - Sect 39
Discharge of person arrested
39. Any person who has been arrested without a warrant by a peace officer shall not be discharged except on his own bond or on bail or under the special order in writing of a Magistrate.