IB 648 then IB 2296 at Madrid
Rome → Madrid → Melilla
Timetable, Madrid time
14:35IB 648 from Rome at the gate
12:35IB 2296 to Melilla leaves the gatealso VY 5696
22 h apart on the timetable, overnight
IB 2296 leaves 22 h after IB 648 arrives on the timetable: more than half a day, so not a connection we count.