§51-2-8. Residence of judge; disqualification.

Each circuit, criminal or intermediate judge, during his continuance in office, shall reside in the circuit or county for which he was elected. When such judge is a party to a suit, or is interested in the result thereof otherwise than as a resident or taxpayer of the district or county, or is related to either of the parties, as grandfather, father, father-in-law, son, son-in-law, brother, brother-in-law, nephew, uncle, first cousin or guardian, or if, at the time of the institution of the suit, or at any time before its final termination, he his wife, or any party or parties related to him in the degree hereinbefore specified, is a stockholder, or officer, in any stock company or corporation which is a necessary party to the proceedings, or if he is a material witness for either party, he shall not take cognizance thereof unless all parties to the suit consent thereto in writing: Provided, That no judgment or decree rendered or pronounced by any such judge shall be invalidated by reason of such relationship unless the same appear of record in such suit or proceeding: Provided further, That nothing herein contained shall disqualify a judge who comes within the provisions of this section to enter a formal order designed merely to advance the cause towards a final hearing and not requiring judicial action involving the merits of the case.