Basically there is a biblical phrase that reads "Speak of the devil and he shall appear." This saying is now used as an idiom when you speak of something or someone and then they unexpectedly show up. For instance, if you were talking on the phone with a friend, and start talking about something a third friend did, then you hear someone knock on the door, you look out and see that third friend, you would might say "Speak of the devil.."
Despite the reference to the devil, this phrase does not generally carry a negative connotation by default. Simply a display of the coincidencal appearance of the person or thing being spoken about.