The following are the integral solutions of the potentials, obtained from the retarded potentials (by a Fourier transform):
$$\mathbf A (\mathbf r) = \frac{\mu_0}{4\pi}\int_V \frac{\mathbf J (\mathbf r')e^{-jk|\mathbf r -\mathbf r'|}}{|\mathbf r - \mathbf r'|}\, \mathrm{d}^3\mathbf r'\,$$
$$\Phi (\mathbf r) = \frac{1}{4\pi\epsilon_0}\int_V \frac{\rho (\mathbf r')e^{-jk|\mathbf r -\mathbf r'|}}{|\mathbf r - \mathbf r'|}\, \mathrm{d}^3\mathbf r'\,$$
I want to see if they satisfy the Lorenz gauge condition:
$$\nabla\cdot\mathbf{A} + j\omega \epsilon_0 \mu_0\Phi = 0$$
After taking the divergence of $\mathbf A$ using the formula for $\nabla. (\psi \mathbf A)=\nabla \psi. \mathbf A+ \psi \nabla. \mathbf A $, I can't proceed further because additional integrals appear and also the divergence of the primed $\mathbf J(\mathbf r')$ is zero (doesn't act on the primed coordinates).
I know that I must use the continuity equation somewhere but can't go any further.