IB 52 then V7 2661 at Madrid
Málaga → Madrid → Lyon
Timetable, Madrid time
13:15IB 52 from Málaga at the gate
12:45V7 2661 to Lyon leaves the gate
23 h 30 apart on the timetable, overnight
V7 2661 leaves 23 h 30 after IB 52 arrives on the timetable: more than half a day, so not a connection we count.