If a judgment or decree be rendered by any court against a principal debtor and his surety, or against his sureties, and one or more of his sureties shall pay and satisfy the judgment or decree, the same shall, by operation of law, be thereby transferred and assigned to the surety or sureties paying and satisfying it, who shall have all the liens and equities of such judgment or decree and of the debt or claim on which the same is founded, which the creditor therein had. The surety, on making affidavit of his suretyship, and of his having paid the judgment or decree, and filing the affidavit and any evidence of such payment that he may hold, with the officer authorized to issue execution on the judgment or decree to whom he may apply for execution, shall be entitled to have execution issued on the judgment or decree, in the name of the plaintiff or complainant against the defendants therein, as if the judgment or decree had not been paid and satisfied. The officer issuing the execution shall indorse thereon that it is issued for the use of the surety who paid the judgment or decree; and the officer serving it shall collect the money, for the use of the surety, from the principal debtor, if he be a party to the judgment or decree and the money can be made out of him; and, if not, he shall collect a ratable proportion of the money from each of the co-sureties.
Miss. Code § 87-5-9