FR 5316 then FR 154 at Madrid
Rome → Madrid → Bristol
Timetable, Madrid time
12:55FR 5316 from Rome at the gate
06:35FR 154 to Bristol leaves the gate
17 h 40 apart on the timetable, overnight
FR 154 leaves 17 h 40 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.