To dream that one has seen the devil, and that he is tormented, or otherwise much terrified, is a sign the dreamer is in danger of being checked and punished by the law.
Devil dream meaning
Read more about dreaming of Devil in other dream meanings interpretations.