to catch red-handed
He caught them red-handed stealing cookies.
The camera caught him red-handed stealing in the shop.
—How did they find out? —They caught him red-handed.