The Code of Criminal Procedure, 1973 (CrPc)
307. Power to direct tender of pardon.
At any time after commitment of a case but before Judgment is passed, the court to which the commitment is made may, with a view, to obtaining at the trial the evidence of any person supposed to have been directly or indirectly concerned in, or privy to, any such offence, tender a pardon on the same condition to such person.