EC 4389 then IB 565 at Madrid
Lyon → Madrid → Málaga
Timetable, Madrid time
17:00EC 4389 from Lyon at the gate
15:40IB 565 to Málaga leaves the gatealso CX 1871, AY 4817, VY 5320, VY 5577, AV 6026, AV 6180, BA 7115, PC 7805, QR 8026, AA 8707
22 h 40 apart on the timetable, overnight
IB 565 leaves 22 h 40 after EC 4389 arrives on the timetable: more than half a day, so not a connection we count.