On area comparison and rigidity involving the scalar curvature