(1)
A police officer, knowing of a design to commit any cognisable offence may arrest, without orders from the Magistrate and without a warrant, the person so designing, if it appears to such officer that the commission of the offence cannot be otherwise prevented.
(2)
No person arrested under sub-section (1) shall be detained in custody for a period exceeding twenty-four hours from the time of his arrest unless his further detention is required or authorised under any other provisions of this Code or of any other law for the time being in force.
MAHARASHTRA.- In section 151 -
"(3)(a) Where a person is arrested under this section and the officer making the arrest, or the officer in charge of the police station before whom the arrested person is produced, has reasonable grounds to believe that the detention of the arrested person for a period longer than twenty-four hours from the time of arrest (excluding the time required to take the arrested person from the place of arrest to the Court of a Judicial Magistrate) is necessary, by reason that-
the officer making the arrest, or the officer in charge of the police station, shall produce such arrested person before the nearest Judicial Magistrate, together with a report in writing stating the reasons for a continued detention of such person for the period longer than twenty-four hours.
Provided that, no person shall be detained under this section for a period exceeding fifteen days at a time, and for a total period exceeding thirty days from the date of arrest of such person.