We show that under certain curvature conditions of the ambient space an entire Killing graph of constant mean curvature lying inside a slab must be a totally geodesic slice.