IB 664 then IB 2296 at Madrid
Milan Linate → Madrid → Melilla
Timetable, Madrid time
14:10IB 664 from Milan Linate at the gatealso VY 5115, AA 8541
12:35IB 2296 to Melilla leaves the gatealso VY 5696
22 h 25 apart on the timetable, overnight
IB 2296 leaves 22 h 25 after IB 664 arrives on the timetable: more than half a day, so not a connection we count.