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