beat the rap
Escape punishment; win acquittal. For example, The youngsters were caught shoplifting, but somehow they were able to beat the rap. The rap in this idiom means "the legal charge against one." [Slang; 1920s]
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.