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