prove or disprove :
if $p$ is a prime such that $p \equiv 1 \pmod 4$ then the product of all the quadratic residues $\pmod p$ is congruent to $1$ mod $p$.
I think it is false statement for $p=5$ and all the quadratic residues will be look like $n^2$ where $n$ from $1$ and $2$
so $1 \cdot 4 =4 \equiv 4 \not \equiv 1 \pmod 5$ but I do not know how can I explain that , could you please help me?