Semi-detached house

type of house where two houses or apartments share the same wall or floor separator

A semi-detached house or duplex (also twin home etc) is one of a pair of attached houses.