The quadratic reciprocity law states that for $p_1\ne p_2$ prime, the product $\left(\frac{p_1}{p_2}\right)\left(\frac{p_2}{p_1}\right)$ takes values $1$ or $-1$ depending on whether $p_1$ and $p_2$ satisfy some set of restrictions mod $4$.

Is there a "quadratic reciprocity law for three primes"? I suspect that the answer is negative.

Is it true that for any integers $M>0$, $\varepsilon\in\{-1,1\}$, and $r_1,r_2,r_3$ coprime with $M$, there exist primes $p_1\equiv r_1\pmod M$, $p_2\equiv r_2\pmod M$, and $p_3\equiv r_3\pmod M$ such that $$ \left(\frac{p_1}{p_2}\right)\left(\frac{p_2}{p_3}\right)\left(\frac{p_3}{p_1}\right) = \varepsilon ? $$

What about, say, five primes?