Speak ill of (someone)

To say something bad about someone.

I wish that my friend would not speak ill of the other people in our class.