(1) Subject to the other provisions of this Code, the powers and duties of a Judge or Magistrate may be exercised or performed by his successor-in-office.
(2) When there is any doubt as to who is the successor-in-office of any Additional or Assistant Sessions Judge, the Sessions Judge shall determine by order in writing the Judge who shall, for the purposes of this Code or of any proceedings or order thereunder, be deemed to be the successor-in-office of such Additional or Assistant Sessions Judge.
(3) When there is any doubt as to who is the successor-in-office of any Magistrate, the Chief Judicial Magistrate, or the District Magistrate, as the case may be, shall determine by order in writing the Magistrate who shall, for the purpose of this Code or of any proceedings or order thereunder, be deemed to be the successor-in-office of such Magistrate.
Code of Criminal Procedure (CrPC)
31 CrPC Sentence in cases of conviction of several offences at one trial
32 CrPC Mode of conferring powers
33 CrPC Powers of officers appointed
35 CrPC Powers of Judges and Magistrates exercisable by their successors-in-office
36 CrPC Powers of superior officers of police
37 CrPC Public when to assist Magistrates and police
38 CrPC Aid to person, other than police officer, executing warrant