IB 706 then FR 494 at Madrid
Rome → Madrid → Dublin
Timetable, Madrid time
12:55IB 706 from Rome at the gate
10:10FR 494 to Dublin leaves the gate
21 h 15 apart on the timetable, overnight
FR 494 leaves 21 h 15 after IB 706 arrives on the timetable: more than half a day, so not a connection we count.