read (someone) the riot act - definition and synonyms

phrase
  1. to warn someone that they will be punished if they do not stop behaving badly
See also main entry: riot