Section 252(2) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(2)The Magistrate shall ascertain, from the complainant or otherwise, the names of any persons likely to be acquainted with the facts of the case and to be able to give evidence for the prosecution, and shall summon to give evidence before himself such of them as he thinks necessary.