Section 541(3) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(3)When a person is removed to a criminal jail under sub-section (2), he shall, on being released therefrom, be sent back to the civil jail, unless either-(a)three years have elapsed since he was removed to the criminal jail, in which case he shall be deemed to have been discharged from the civil jail under section 58 of the Code of Civil Procedure, 1977 ; or(b)the Court which ordered his imprisonment in the civil jail has certified to the officer-in-charge of the criminal jail that he is entitled to be discharged under section 58 of the Code of Civil Procedure, 1977.