speak of the devil

Speak of the devil is a reference to someone who appears very unexpectedly while they are being talked about; this person is usually not at all expected when the other people are talking about them, but then they show up. By saying speak of the devil; it refers to the devil who might always be overhearing you when you speak badly, whether in general or of other people. This phrase may be about speaking good or bad things about this person.