Towards the end of book 3, right before MacNair left Hagrid's house to kill Buckbeak while Harry is trying to save the bird, Dumbledore says something to give Harry some time:
Hold on a minute MacNair. You also gotta sign
The Harry in that scene is the Harry from the future.
So Dumbledore can see the future?