Section 387(2) in Jammu and Kashmir Municipal Corporation Act, 2000
(2)No person so arrested shall be detained in custody after his true name and address is ascertained or, without the order of the nearest Magistrate, for a period longer than twenty-four hours from the time of arrest exclusive of the time necessary for the journey from the place of arrest to the court of such Magistrate.