throw the book at
throw the book at {v. phr.}, {informal}
To give the most severe penalty to (someone) for breaking the law or rules.
Because it was the third time he had been caught speeding that month, the judge threw the book at him.
Categories:
Source: A Dictionary of American Idioms