FR 9067 then FR 7340 at Vienna
Bari → Vienna → Valencia
Timetable, Vienna time
17:35FR 9067 from Bari at the gate
12:25FR 7340 to Valencia leaves the gate
18 h 50 apart on the timetable, overnight
FR 7340 leaves 18 h 50 after FR 9067 arrives on the timetable: more than half a day, so not a connection we count.