A motion to quash an execution may, after reasonable notice to the adverse party, be heard and decided by the court which issued the execution. Such court, on the application of the plaintiff in the motion, may make an order staying the proceedings on the execution until the motion be heard and determined, the order not to be effectual until bond be given in such penalty and with such condition, and either with or without surety, as the court may prescribe. The clerk from whose office the execution issued, shall take the bond and make as many copies of the order as may be necessary and endorse thereon that the bond required has been given; and a copy shall be served on the plaintiff in the execution and on the officer in whose hands the execution is placed.
Va. Code § 8.01-477