A person is entitled to recover his property that has been seized through execution of a writ issued by a court if the judgment on which execution is issued is reversed or set aside and the property has not been sold at execution.
Tex. Civ. Prac. and Rem. Code § 34.021