When an officer shall receive under execution the whole or any part of the money for which the same was issued, and the defendant, before payment thereof to the plaintiff, obtain an injunction against the execution, the officer shall pay over to the defendant the money received, or such part thereof as may be enjoined. If an officer shall, when required, fail to pay over the money so received and enjoined to the person having a right to demand the same, such officer and his sureties shall be liable to the same remedies as are given by law to the plaintiff for the nonpayment of money levied on execution.
Miss. Code § 13-3-183