The correct example of an idiom from the options provided is:
When I looked out the window, I saw it was raining cats and dogs.
This phrase is an idiom because it means that it is raining very heavily, rather than meaning that cats and dogs are literally falling from the sky.