W4 6021 then FR 7351 at Barcelona
Rome → Barcelona → Vienna
Timetable, Barcelona time
14:30W4 6021 from Rome at the gate
10:05FR 7351 to Vienna leaves the gate
19 h 35 apart on the timetable, overnight
FR 7351 leaves 19 h 35 after W4 6021 arrives on the timetable: more than half a day, so not a connection we count.