We prove a new general differential identity and an associated integral identity, which entails a pair of solutions of the Poisson equation with constant source term. This generalizes a formula that the first and third authors previously proved and used to obtain quantitative estimates of spherical symmetry for the Serrin overdetermined boundary value problem. As an application, we prove a quantitative symmetry result for the reverse Serrin problem, which we introduce for the first time in this paper. In passing, we obtain a rigidity result for solutions of the aforementioned Poisson equation subject to a constant Neumann condition.