V7 2660 then W4 7547 at Madrid
Lyon → Madrid → Málaga
Timetable, Madrid time
08:10V7 2660 from Lyon at the gate
20:55W4 7547 to Málaga leaves the gate
12 h 45 apart on the timetable
W4 7547 leaves 12 h 45 after V7 2660 arrives on the timetable: more than half a day, so not a connection we count.