No Judge or Magistrate shall, except with the permission of the Court to which an appeal lies from his Court, try or commit for trial any case to or in which he is a party, or personally interested, and no Judge or Magistrate shall hear an appeal from any judgment or order passed or made by himself.
Explanation — —A Judge or Magistrate shall not be deemed to be a party to, or personally interested in, any case by reason only that he is concerned therein in a public capacity, or by reason only that he has viewed the place in which an offence is alleged to have been committed, or any other place in which any other transaction material to the case is alleged to have occurred, and made an inquiry in connection with the case.
Legal Commentary & Landmark Judgments: Section 525
Section 525 of the Bharatiya Nagarik Suraksha Sanhita, 2023 (corresponding to Section 479 of the CrPC, 1973) enshrines the cardinal principle of natural justice (nemo judex in causa sua), mandating that no Judge or Magistrate shall try or commit for trial any case in which they are personally interested.
If a Magistrate has any personal connection to a party, witness, or property involved in the litigation, move an immediate recusal application or transfer petition under Section 448 citing Section 525 and P.K. Ghosh.