Statistics for Cosmic microwave background anisotropies in the presence of a weak magnetic field