Notwithstanding any other provision of law, no prisoner action shall be filed except in the city or county in which the prison is located where the prisoner was housed when his cause of action arose. When an action is filed in an improper venue, upon motion of the defendant or the court sua sponte, the court shall transfer the case to the proper venue.
Va. Code § 8.01-693