N.M. Stat. § 47-16-14
Attorney fees and costs.
A court may award attorney fees and costs to any party that prevails in a civil action
between a lot owner and the association or declarant based upon any provision of the
declaration or bylaws; provided that the declaration or bylaws allow at least one party to
recover attorney fees or costs.