Section 170(2) in The Code of Criminal Procedure, 1973
(2)When the officer-in-charge of a police station forwards an accused person to a Magistrate or takes security for his appearance before such Magistrate under this section, he shall send to such Magistrate any weapon or other article which it may be necessary to produce before him, and shall require the complainant (if any) and so many of the persons who appear to such officer to be acquainted with facts and circumstances of the case as, he may think necessary, to execute a bond to appear before the Magistrate as thereby directed and prosecute or give evidence (as the case may be) in the matter of the charge against the accused.