FR 9005 then OS 403 at Vienna
Bari → Vienna → Barcelona
Timetable, Vienna time
18:35FR 9005 from Bari at the gate
15:05OS 403 to Barcelona leaves the gate
20 h 30 apart on the timetable, overnight
OS 403 leaves 20 h 30 after FR 9005 arrives on the timetable: more than half a day, so not a connection we count.