FR 8716 then FR 9674 at Madrid
Manchester → Madrid → Rome
Timetable, Madrid time
16:45FR 8716 from Manchester at the gate
16:00FR 9674 to Rome leaves the gate
23 h 15 apart on the timetable, overnight
FR 9674 leaves 23 h 15 after FR 8716 arrives on the timetable: more than half a day, so not a connection we count.