FR 9005 then FR 180 at Vienna
Bari → Vienna → Thessaloniki
Timetable, Vienna time
22:45FR 9005 from Bari at the gate
18:35FR 180 to Thessaloniki leaves the gate
19 h 50 apart on the timetable, overnight
FR 180 leaves 19 h 50 after FR 9005 arrives on the timetable: more than half a day, so not a connection we count.