Abstract. Let (N, g) be an n-dimensional complete Riemannian manifold with nonempty boundary ∂N . Assume that the Ricci curvature of N has a negative lower bound Ric ≥ −(n − 1)c 2 for some c > 0, and the mean curvature of the boundary ∂N satisfies H ≥ (n − 1)c0 > (n − 1)c for some c0 > c > 0. Then a known result (see [12]. In this paper, we prove that if the boundary ∂N is compact, then the equality holds if and only if N is isometric to the geodesic ball of radiusin an n-dimensional hyperbolic space H n (−c 2 ) of constant sectional curvature −c 2 . Moreover, we also prove an analogous result for manifold with nonempty boundary and with m-Bakry-Émery Ricci curvature bounded below by a negative constant.