FR 9067 then FR 9857 at Vienna
Bari → Vienna → Helsinki
Timetable, Vienna time
17:35FR 9067 from Bari at the gate
16:40FR 9857 to Helsinki leaves the gate
23 h 05 apart on the timetable, overnight
FR 9857 leaves 23 h 05 after FR 9067 arrives on the timetable: more than half a day, so not a connection we count.