N.M. Stat. § 45-3-905
Penalty clause for contest.
A provision in a will purporting to penalize any interested person for contesting the
will or instituting other proceedings relating to the estate is unenforceable if probable
cause exists for instituting proceedings.