The Code of Criminal Procedure, 1973 (CrPc)
395. Reference to High Court.
(1) Where any court is satisfied that a case pending before it involves a question as to the validity of any Act, Ordinance or Regulation or of any provision contained in an Act, Ordinance or Regulation, the determination of which is necessary for the disposal of the case, and is of opinion that such Act, Ordinance, Regulation or provision is invalid or inoperative, but has not been so declared by the Court to which that court is subordinate or by the Supreme Court, the court shall state a case setting out its opinion and the reasons therefore and refer the same for the decision of the High Court.
Explanation. In this section, “Regulation” means any Regulation as defined in the General Clauses Act, 1897 (10 of 1897), or in the General Clauses Act of a State.
(2) A Court of Session or a Metropolitan Magistrate may, if it or he thinks fit in any case pending before it or him to which the provisions of sub-section (1) do not apply, refer for the decision of the High Court any question of law arising in the hearing of such case.
(3) Any court making a reference to the High Court under sub-section (1) or subsection (2) may, pending the decision of the High Court thereon, either commit the accused to jail or release him on bail to appear when called upon.