No lender or other person shall charge a sum or prepayment penalty for the prepayment of any note or evidence of a debt secured in whole or in part by lien on real estate greater than the following:
This section shall apply only to loans, the security for which is a lien on real estate comprising a single family dwelling or a single family condominium unit, or on real estate used primarily for agricultural or livestock purposes. This section shall not apply where a greater penalty is required by any law or regulation of the United States of America, or agency thereof. In addition, this section shall not apply to any agricultural loan made by an originator or a certified facility in accordance with 12 USCS Section 2279aa et seq. that is included in a pool for which the Federal Agricultural Mortgage Corporation has provided a guarantee.
Miss. Code § 75-17-31