If the court finds that the defendant has received from rents and profits of the land or otherwise more than is due on the mortgage, it shall award judgment and execution against him for the amount due to the plaintiff; and if there are several defendants, such judgment and execution may be awarded against them, either jointly or severally, for the amounts received by them or any of them, respectively.
Mass. Gen. Laws ch. 244, § 30