Mass. Gen. Laws ch. 63, § 31J
(a) For purposes of computing its net income under this chapter, a taxpayer shall add back otherwise deductible interest paid, accrued or incurred to a related member, as defined in section 31I, during the taxable year, except that a deduction shall be permitted when either: