BA 4254 then IB 2296 at Madrid
Buenos Aires → Madrid → Melilla
Timetable, Madrid time
15:10BA 4254 from Buenos Aires at the gatealso QR 6974
12:35IB 2296 to Melilla leaves the gatealso VY 5696
21 h 25 apart on the timetable, overnight
IB 2296 leaves 21 h 25 after BA 4254 arrives on the timetable: more than half a day, so not a connection we count.