FR 10 then IB 2296 at Madrid
Dublin → Madrid → Melilla
Timetable, Madrid time
22:35FR 10 from Dublin at the gate
12:35IB 2296 to Melilla leaves the gatealso VY 5696
14 h apart on the timetable, overnight
IB 2296 leaves 14 h after FR 10 arrives on the timetable: more than half a day, so not a connection we count.