VY 5614 then IB 57 at Madrid
Pamplona → Madrid → Málaga
Timetable, Madrid time
10:40VY 5614 from Pamplona at the gate
09:55IB 57 to Málaga leaves the gate
23 h 15 apart on the timetable, overnight
IB 57 leaves 23 h 15 after VY 5614 arrives on the timetable: more than half a day, so not a connection we count.