El jefe lo cagó a pedos por llegar tarde a la reunión.

[details=“English Translation”]The boss gave him a piece of his mind for being late to the meeting.
[/details]

In this same collection, I also find “le dio un jabón”, less offensive and with a similar meaning.