AZ 2417 then IB 2296 at Madrid
Valencia → Madrid → Melilla
Timetable, Madrid time
13:35AZ 2417 from Valencia at the gatealso ME 4064, UX 4064, MU 4977, AM 6861, EY 7593
12:35IB 2296 to Melilla leaves the gatealso VY 5696
23 h apart on the timetable, overnight
IB 2296 leaves 23 h after AZ 2417 arrives on the timetable: more than half a day, so not a connection we count.