In the event the land so encumbered should be thereafter sold by foreclosure or otherwise to satisfy the said debt, interest, attorney's fee, trustee's fees, or expenses of such sale, and there shall exist an overplus of money above the debt, interest, attorney's fees, trustee's fees, and expenses of such sale, the overplus shall be distributed among the heirs according to the law of descent, or among the devisees according to the will. The heir or devisee whose land shall be sold may compel all others holding or claiming under such intestate or testator to contribute in proportion to their respective interests, so as to equalize the burden of loss.
Miss. Code § 91-7-217