V7 2660 then FR 2063 at Madrid
Lyon → Madrid → Palma de Mallorca
Timetable, Madrid time
08:10V7 2660 from Lyon at the gate
06:00FR 2063 to Palma de Mallorca leaves the gate
21 h 50 apart on the timetable, overnight
FR 2063 leaves 21 h 50 after V7 2660 arrives on the timetable: more than half a day, so not a connection we count.