FR 166 then FR 5316 at Fiumicino
Beauvais → Rome → Madrid
Timetable, Rome time
13:35FR 166 from Beauvais at the gate
09:25FR 5316 to Madrid leaves the gate
19 h 50 apart on the timetable, overnight
FR 5316 leaves 19 h 50 after FR 166 arrives on the timetable: more than half a day, so not a connection we count.