Consider the vector field $$\vec{\mathrm{F}} = \frac{\hat{\mathrm{r}}}{r^{2}},$$ then the divergence of this field is: $$\vec{\nabla}\cdot\left(\frac{\hat{\mathrm{r}}}{r^{2}}\right) = 4\pi\delta^{3}(\mathrm{\vec{r}})$$
What is the proof of this relation?
What does "$4\pi\delta^3(r)$" mean? It means if you integrate any compactly supported test function $f$ against it, the result will be $4\pi f(0)$.
So what you really want to show is that for any compactly supported test function $f$, you have $$ \int \bigg(\nabla\cdot \frac{\hat{r}}{r^2}\bigg)f(r)\ dr = 4\pi f(0). $$
Integrate by parts and take a limit around the singularity at $0$ to get the answer.