The real estate of a prisoner may be leased or sold, when necessary for the payment of his debts, in accordance with Article 8 (§ 8.01-67 et seq.) of Chapter 3 of Title 8.01. Any such real estate or the real estate in which such prisoner is interested with others, infants or adults, may be sold, exchanged for other real estate, or encumbered for the purpose of borrowing money to be used to erect buildings or other improvements on the same.
Va. Code § 53.1-227