The idiom Speak of the devil means that someone has just arrived or been mentioned, usually unexpectedly, just after they have been talked about.