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