Section 187(1) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(1)If the person has been arrested under a warrant issued under section 186 by a Magistrate other than [a District Magistrate, or, a Chief Judicial Magistrate, such Magistrate shall send the person arrested to the District or Sub-Divisional Magistrate, or, as the case may be, to the Chief Judicial Magistrate] [Substituted by Act XL of 1966.] to whom he is subordinate, unless the Magistrate having jurisdiction to inquire into or try such offence issues his warrant for the arrest of such person, in which case the person arrested shall be delivered to the police officer executing such warrant or shall be sent to the Magistrate by whom such warrant was issued.