The meaning of gaol in dream | Dream Interpretation
An obstacle dream.
If you are released, it shows great good fortune, for disgrace, in any form, in a dream is an omen of contrary, so there is a large element of success in spite of your present difficulties.
If you dream of being confined in a gaol, you will be prevented from carrying forward some profitable work by the intervention of envious people; but if you escape from the gaol, you will enjoy a season of favorable business. See Jail.