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