A part of a three-storey building collapsed