Wiktionary
read someone the riot act
vb. (context idiomatic English) To scold or berate somebody; to reprimand.