Catch (someone) red-handed

To find someone in the middle of doing something wrong.

The clerk caught the boy red-handed when he was stealing the candy.