This is Question 2.18 from Gilbarg and Trudinger, chapter 2.
We are given that $\Omega$ is open bounded smooth boundary. Now fix $x_0\in \Omega$ and a constant $c>0$ such that $B(x_0,c)\subset\subset \Omega$. Next, given $u$ such that $\Delta u=0$ in $\Omega$ and another $2$ positive constants $a$ and $b$ such that $a<b<c$ and $b^2=ac$. Then, the question asks us to prove the following simple and beautiful equation.
$$ \int_{\partial B(0,1)}u(x_0+aw)u(x_0+cw)\,dSw=\int_{\partial B(0,1)}u^2(x_0+bw)\,dSw $$
My try:
Define $$ v(w):=u(x_0+aw)u(x_0+cw)- u^2(x_0+bw)$$ If I can prove $v$ is harmonic, then by Mean Value Theorem I would be done, since $$ 0=v(0)=\int_{\partial B(0,1)} v(w)\,dSw$$ Hence, by $v\in C^2$, I just compute $\Delta v$ and obtain that, after simplification, $$ \Delta v(w)=2b^2(\nabla u(x_0+aw)\cdot\nabla u(x_0+cw)-\nabla u(x_0+bw)\cdot\nabla u(x_0+bw)) $$ I can not go further from here. Any hint would be very welcome!
Let $B$ be the unit ball. Applying Green's second identity to $\phi(w)=u(aw)$ and $\psi(w)=u(cw)$ yields $$ \int_B \psi \frac{\partial \phi}{\partial n}= \int_B \phi \frac{\partial \psi}{\partial n}\tag{1} $$ hence (by the Chain Rule) $$ a \int_B u(cw) u_r(aw)= c \int_B u(aw)u_r(cw) \tag{2} $$ where $u_r$ is the derivative of $u$ in the radial direction.
On the other hand, differentiating the function $$ I(a) = \int_{\partial B}u(aw)u((b^2/a)w) \tag{3} $$ we get $$ I'(a) = \int_{\partial B}\left(u_r(aw)u((b^2/a)w)-\frac{b^2}{a^2}u(aw)u_r((b^2/a)w)\right) =0 \tag{4} $$ according to (2). Thus, $I$ is a constant function, which implies the claim.