Massachusetts General Laws Chapter 148 Section 26F states, “All buildings or structures occupied in whole or in part for residential purposes shall, upon sale or transfer of such building or structure, be equipped by the seller with approved smoke detectors.”