Whenever any disagreement or controversy arises between an attorney-at-law and any other person respecting the amount of the compensation to which he or she is entitled by contract or otherwise and his or her retention of the same out of any funds in his or her hands, such attorney may by motion in the circuit court or court of like jurisdiction, of the county of his or her residence, of which such other person shall have notice, obtain an order of the court that a certain amount is due under such contract or would be reasonable compensation for his or her services; and, when such motion is made and order obtained, such attorney shall not be subject to prosecution, suspension, or removal under this chapter or other penalty therefor; but nothing herein contained shall affect or destroy any civil action to which any person would be entitled against such attorney respecting the same, or any criminal prosecution to which the accused would be otherwise liable.
Ala. Code § 34-3-62 (1975)