read somebody the riot act
verb
°To scold or berate somebody; to reprimand.