Let me start from path integral formulation in quantum mechanics and quantum field theory. In QM, we have $$ U(x_b,x_a;T) = \langle x_b | U(T) |x_a \rangle= \int \mathcal{D}q e^{iS} \tag{1} $$ $|x_a \rangle$ is an eigenstate of position operator $\hat{x}$.
In QFT we have $$ U(\phi_b,\phi_a;T) = \langle \phi_b | U(T) |\phi_a \rangle= \int \mathcal{D}\phi e^{iS} \tag{2} $$ $| \phi_a \rangle $ is an eigenstate of field operator $\hat{\phi}(x)$.
By analogy with QM, it is tempting to relate $$|\phi \rangle \leftrightarrow |x \rangle \tag{3} $$
However, in Peskin and Schroeder's QFT, p24, by computing it is said
$$ \langle 0 | \phi(\mathbf{x}) | \mathbf{p} \rangle = e^{i \mathbf{p} \cdot \mathbf{x}} \tag{2.42} $$ We can interpret this as the position-space representation of the single-particle wavefunction of the state $| \mathbf{p} \rangle$, just as in nonrelativistic quantum mechanics $\langle \mathbf{x} | \mathbf{p} \rangle \propto e^{i \mathbf{p} \cdot \mathbf{x}} $ is the wavefunction of the state $|\mathbf{p}\rangle$.
Based on the quoted statement, seems $$\hat{\phi}(x) | 0 \rangle \leftrightarrow | x \rangle \tag{4} $$
If relations (3) and (4) are both correct, I should have $$\hat{\phi} ( \hat{\phi} | 0 \rangle ) = \phi(x) ( \hat{\phi}| 0 \rangle ) \tag{5}$$ seems Eq. (5) is not correct. At least I cannot derive Eq. (5).
How to reconcile analogies (3) and (4)?