AA 8762 then LA 1647 at Madrid
Valencia → Madrid → Porto
Timetable, Madrid time
07:10AA 8762 from Valencia at the gate
19:40LA 1647 to Porto leaves the gatealso CX 1889, VY 5310, AT 5484, QR 6583
12 h 30 apart on the timetable
LA 1647 leaves 12 h 30 after AA 8762 arrives on the timetable: more than half a day, so not a connection we count.