W4 6017 then FR 3039 at Barcelona
Rome → Barcelona → Prague
Timetable, Barcelona time
09:20W4 6017 from Rome at the gate
21:50FR 3039 to Prague leaves the gate
12 h 30 apart on the timetable
FR 3039 leaves 12 h 30 after W4 6017 arrives on the timetable: more than half a day, so not a connection we count.