Section 151(1) in The Code of Criminal Procedure, 1973
(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.