The Code of Criminal Procedure, 1973 (CrPc)
186. High Court to decide, in case of doubt, district where inquiry or trial shall take place.
Where two or more Courts have taken cognizance of the same offence and a question arises as to which of them ought to inquire into or try that offence, the question shall be decided-
(a) If the courts are subordinate to the same High Court, by that High Court;
(b) If the courts are not subordinate to the same High Court, by the High Court within the local limits of whose appellate criminal jurisdiction the proceedings were first commenced,
and thereupon all other proceedings in respect of that offence shall be discontinued.