Section 497(4) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(4)If, at any time after the conclusion of the trial of a person accused of a non-bailable offence and before judgment is delivered, the Court is of opinion that there are reasonable grounds for believing that the accused is not guilty of any such offence, it shall release the accused, if he is in custody, on the execution by him of a bond without sureties for his appearance to hear judgment delivered.