IB 338 then IB 2296 at Madrid
Miami → Madrid → Melilla
Timetable, Madrid time
13:05IB 338 from Miami at the gatealso AY 5642, EI 5864, QR 6859, BA 7260, AA 8740
12:35IB 2296 to Melilla leaves the gatealso VY 5696
23 h 30 apart on the timetable, overnight
IB 2296 leaves 23 h 30 after IB 338 arrives on the timetable: more than half a day, so not a connection we count.