In Doctor Who episode S9E11, Heaven Sent,
the Doctor has an atypical reaction to the monster when he first sees it. Instead of doing what he always does - walking up to it and introducing himself, he runs away and confesses he's afraid. In other words, he immediately recognises the monster as the being that is going to kill him as soon as it catches up with him. How come? It's not like he met this being ever before, face to face. (Not that the monster has a face.)
We know this, because the Doctor was still alive by the beginning of the episode!
But he knows this is it.