Prefabricated building magnets