V7 2660 then FR 572 at Madrid
Lyon → Madrid → Porto
Timetable, Madrid time
08:10V7 2660 from Lyon at the gate
22:40FR 572 to Porto leaves the gate
14 h 30 apart on the timetable
FR 572 leaves 14 h 30 after V7 2660 arrives on the timetable: more than half a day, so not a connection we count.