Notwithstanding any other provisions of the retirement law or rulings of the retirement board in accordance with the powers vested in the board, no teacher shall be allowed to purchase service credits for time while incarcerated in prison, including, but not limited to, work release programs or home confinement programs.
R.I. Gen. Laws § 16-16-43