idiom
read someone the riot act
Meaning
to warn or scold someone severely for bad behavior
Example
The teacher **read the students the riot act** after the chaos in class.