This is a question about an historical theory of gravitation, studied by Einstein quite a bit before he settled on General Relativity. At that time, Einstein did not know that gravity was a consequence of curved space-time. He identified the variations of gravity with the variations of light speed in a gravitational field.
In March 1912, Einstein postulated a first equation for static gravitational field, derived from the Poisson equation $$\Delta c = kc\rho \tag{1}~,$$ where $c$ is light speed, $\rho$ is mass density and $\Delta$ is Laplacian.
Two weeks later, he modified this equation by adding a nonlinear term to satisfy energy-momentum conservation : $$\Delta c = k\big(c\rho+\frac{1}{2kc} (\nabla c)^2\big)~. \tag{2}$$ Einstein's argument is the following:
The force per unit volume in terms of the mass density $\rho$ is $f_a$ $= \rho \nabla c$. Substituting for $\rho$ with $\frac{\Delta c}{kc}$ [equation (1)], we find $$f_a = \frac{\Delta c}{kc} \nabla c~.$$
This equation must be expressible as a total divergence (momentum conservation) otherwise the net force will not be zero (assuming $c$ is constant at infinity). Einstein says:
"In a straightforward calculation, the equation (1) must be replaced by equation (2)."
I never found the straightforward calculation. That's something that's actually hard for me!
addendum
The solution given and explained by @Gluoncito (see below) answers perfectly my question. However, it is likely that it is not the demonstration of Einstein for at least one reason : It is not a straightforward calculation.
Historically, Abraham, a german physicist, was the first to generalize the Poisson equation by adding a term for the energy density of the gravitational field (coming from $E=mc^2$). He published a paper in january 1912 containing a static field equation with the term :
$\frac{c^2}{\gamma}(\nabla c)^2 $ different but not far away from the Einstein term. After the publication of Einstein, Abraham claimed That Einstein copied his equation. I believe Einstein was at least inspired by Abraham. To what extent, I don't know.