FR 9612 then FR 7156 at Dublin
Rome → Dublin → Madrid
Timetable, Dublin time
08:00FR 9612 from Rome at the gate
20:10FR 7156 to Madrid leaves the gate
12 h 10 apart on the timetable
FR 7156 leaves 12 h 10 after FR 9612 arrives on the timetable: more than half a day, so not a connection we count.