IB 126 then IB 2296 at Madrid
Lima → Madrid → Melilla
Timetable, Madrid time
14:20IB 126 from Lima at the gatealso QR 5071, LA 5391, BA 7233, LY 9220
12:35IB 2296 to Melilla leaves the gatealso VY 5696
22 h 15 apart on the timetable, overnight
IB 2296 leaves 22 h 15 after IB 126 arrives on the timetable: more than half a day, so not a connection we count.