Nine killed, three injured in building collapse