In a civil action brought by a prisoner, the court may order the revocation of a prisoner's good time credit, disciplinary credit, or both, if, on its own motion or the motion of a party, the court finds that the prisoner filed an action prohibited under section 5503 or 5505 and 1 of the following applies:
MCL 600.5513