Section 145(9) in The Code of Criminal Procedure, 1973
(9)The Magistrate may, if he thinks fit, at any stage of the proceedings under this section, on the application of either party, issue a summons to any witness directing him to attend or to produce any document or thing.