IB 2299 then IB 1401 at Madrid
Melilla → Madrid → Valencia
Timetable, Madrid time
12:00IB 2299 from Melilla at the gatealso VY 5699
11:30IB 1401 to Valencia leaves the gate
23 h 30 apart on the timetable, overnight
IB 1401 leaves 23 h 30 after IB 2299 arrives on the timetable: more than half a day, so not a connection we count.