The abstract F. and M. Riesz theorem