FR 7920 then FR 9602 at Madrid
Shannon → Madrid → Rome
Timetable, Madrid time
12:50FR 7920 from Shannon at the gate
06:00FR 9602 to Rome leaves the gate
17 h 10 apart on the timetable, overnight
FR 9602 leaves 17 h 10 after FR 7920 arrives on the timetable: more than half a day, so not a connection we count.