We consider formulae of approximate integration over a -dimensional ball which use surface integrals along -dimensional spheres centered at the origin. For a class of functions defined on the ball with gradients satisfying an integral restriction, optimal formulae of this type are obtained.