FR 9005 then OS 725 at Vienna
Bari → Vienna → Belgrade
Timetable, Vienna time
22:45FR 9005 from Bari at the gate
22:25OS 725 to Belgrade leaves the gate
23 h 40 apart on the timetable, overnight
OS 725 leaves 23 h 40 after FR 9005 arrives on the timetable: more than half a day, so not a connection we count.