Under section 195 of Criminal Procedure Code (Cr.P.C.), various provisions are provided to prosecute offences against public justice and for offences relating to documents given in evidence.
195. Prosecution for contempt of lawful authority of public servants, for offences against public justice and for offences relating to documents given in evidence.
(1) No Court shall take cognizance-
(a) (i) of any offence punishable under sections 172 to 188 (both inclusive) of the Indian Penal Code (45 of 1860 ), or
(ii) of any abetment of, or attempt to commit, such offence, or
(iii) of any criminal conspiracy to commit such offence,
except on the complaint in writing of the public servant concerned or of some other public servant to whom he is administratively subordinate;
(b) (i) of any offence punishable under any of the following sections of the Indian Penal Code (45 of 1860 ), namely, sections 193 to 196 (both inclusive), 199, 200, 205 to 211 (both inclusive) and 228, when such offence is alleged to have been committed in, or in relation to, any proceeding in any Court, or
(ii) of any offence described in section 463, or punishable under section 471, section 475 or section 476, of the said Code, when such offence is alleged to have been committed in respect of a document produced or given in evidence in a proceeding in any Court, or
(iii) of any criminal conspiracy to commit, or attempt to commit, or the abetment of, any offence specified in sub- clause (i) or sub- clause (ii),
except on the complaint in writing of that Court, or of some other Court to which that Court is subordinate.
(2) Where a complaint has been made by a public servant under clause (a) of sub- section (1) any authority to which he is administratively subordinate may order the withdrawal of the complaint and send a copy of such order to the Court; and upon its receipt by the Court, no further proceedings shall be taken on the complaint: Provided that no such withdrawal shall be ordered if the trial in the Court of first instance has been concluded.
(3) In clause (b) of sub- section (1), the term” Court” means a Civil, Revenue or Criminal Court, and includes a tribunal constituted by or under a Central, Provincial or State Act if declared by that Act to be a Court for the purposes of this section.
(4) For the purposes of clause (b) of sub- section (1), a Court shall be deemed to be subordinate to the Court to which appeals ordinarily lie from the appealable decrees or sentences of such former Court, or in the case of a Civil Court from whose decrees no appeal ordinarily lies, to the principal Court having ordinary original civil jurisdiction within whose local jurisdiction such Civil Court in situate:
(a) where appeals lie to more than one Court, the Appellate Court of inferior jurisdiction shall be the Court to which such Court shall be deemed to be subordinate;
(b) where appeals lie to a Civil and also to a Revenue Court, such Court shall be deemed to be subordinate to the Civil or Revenue Court according to the nature of the case or proceeding in connection with which the offence is alleged to have been committed.
Read the procedure to be followed to prosecute Perjury offences here