Section 254(3) in The Code of Criminal Procedure, 1973
(3)The Magistrate may, before summoning any witness on such application, require that the reasonable expenses of the witness incurred in attending for the purposes of the trial be deposited in Court.