IB 1012 then IB 2296 at Madrid
Alicante → Madrid → Melilla
Timetable, Madrid time
15:00IB 1012 from Alicante at the gatealso LA 1729, CX 1894, AY 4820, BT 5232, VY 5575, AV 6169, BA 7075, CZ 7330, QR 8087
12:35IB 2296 to Melilla leaves the gatealso VY 5696
21 h 35 apart on the timetable, overnight
IB 2296 leaves 21 h 35 after IB 1012 arrives on the timetable: more than half a day, so not a connection we count.