W4 6030 then FR 5316 at Fiumicino
Valencia → Rome → Madrid
Timetable, Rome time
10:40W4 6030 from Valencia at the gate
10:20FR 5316 to Madrid leaves the gate
23 h 40 apart on the timetable, overnight
FR 5316 leaves 23 h 40 after W4 6030 arrives on the timetable: more than half a day, so not a connection we count.