Notation
$$X \equiv \sigma_x \qquad Z \equiv \sigma_z$$
Introduction
The surface code is a quantum error correction code. In the surface code, we have a two-dimensional grid of qubits each coupled to its four nearest neighbors. As shown in Fig. 1, within a row or column, every other qubit is alternatingly a data or measure qubit. On each round of the surface code's error correction mechanism, the measure qubits each measure the 4-way parity of either $X$ or $Z$ of their four neighboring data qubits.
The essence of the surface code is contained in the fact that these measurements do not completely collapse the state of the grid. This can be seen in a 2-qubit example. The two measure qubits highlighted in Fig 1 measure the two operators $$X_A X_B \quad \text{and} \quad Z_A Z_B \, . $$ These operators commute, so there are in fact simultaneous two-qubit eigenstates of those parity operators. In fact, those eigenstates are precisely the four two-qubit Bell states.
Question
We know that in the the two qubit case, there are four possible eigenstates of the parity measurements, i.e. the Bell states. What are the eigenstates with more than two qubits?
As an example, we could consider a small patch of the surface code that looks like this:
X o X
o Z o
where o
means a data qubit, X
means a measure-X qubit, and Z
means a measure-Z qubit.
Another "simple" case could be
o X o X
Z o Z o
o X o X
Z o Z o
with periodic boundary conditions.
Figure 1