Section 300(5) in The Code of Criminal Procedure, 1973
(5)A person discharged under Section 258 shall not be tried again for the same offence except with the consent of the Court by which he was discharged or of any Court to which the first mentioned Court is subordinate.