FR 40 then FR 6342 at Fiumicino
Berlin → Rome → Barcelona
Timetable, Rome time
14:50FR 40 from Berlin at the gate
08:15FR 6342 to Barcelona leaves the gate
17 h 25 apart on the timetable, overnight
FR 6342 leaves 17 h 25 after FR 40 arrives on the timetable: more than half a day, so not a connection we count.