In all actions or proceedings involving the title or right of possession to land, either party may, by notice in writing to the opposing party or his attorney of record not less than 10 days before the trial, demand an abstract in writing of the title, or titles, on which he will rely for recovery or defense, and such party must be confined to the proof of such title or titles upon the trial. If either party, after such demand and notice, fails to furnish such abstract of title, the party so demanding may move the court to require the party in default to furnish the abstract of title, and the court may enter an order requiring the party so in default to furnish the abstract of title within the time to be fixed by the order of the court. Upon failure to comply with such order, the court must dismiss the action or proceeding if the plaintiff is in default or may enter judgment by default if the defendant is the party in default, or the court may, in its discretion, tax the party so in default with all or any part of the costs of the action or proceeding.
Ala. Code § 6-6-283 (1975)