Section 325(3) in The Code of Criminal Procedure, 1973
(3)The Chief Judicial Magistrate to whom the proceedings are submitted may, if he thinks fit, examine the parties and recall and examine any witness who has already given evidence in the case and may call for and take any further evidence, and shall pass such judgment, sentence or order in the case as he thinks fit, and as is according to law.