EC 1703 then IB 565 at Madrid
Nice → Madrid → Málaga
Timetable, Madrid time
20:40EC 1703 from Nice 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
19 h apart on the timetable, overnight
IB 565 leaves 19 h after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.