Ganondorf - OoT - after opening the door of time
He knew Link was there. It is impossible he didn't seen him because he talked to him. Too bad that we will never know what happened after that and before Ganon got out of the SR and Link was captured by Rauru and brought to sleep...