Section 495(4) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(4)An officer of police shall not be permitted to conduct the prosecution if he has taken any part in the investigation into the offence with respect to which the accused is being prosecuted.