If the complaint is made to a Magistrate who is not competent to take cognizance of the offence, he shall,-
(a) if the complaint is in writing, return it for presentation to the proper Court with an endorsement to that effect;
(b) if the complaint is not in writing, direct the complainant to the proper
Court.
Code of Criminal Procedure (CrPC)
201 CrPC Procedure by Magistrate not competent to take cognizance of the case
202 CrPC Postponement of issue of process
203 CrPC Dismissal of complaint
205 CrPC Magistrate may dispense with personal attendance of accused
206 CrPC Special summons in cases of petty offence
207 CrPC Supply to the accused of copy of police report and other documents
209 CrPC Commitment of case to Court of Session when offence is triable exclusively by it