FR 7351 then OS 645 at Vienna
Barcelona → Vienna → Prague
Timetable, Vienna time
22:40FR 7351 from Barcelona at the gate
15:20OS 645 to Prague leaves the gate
16 h 40 apart on the timetable, overnight
OS 645 leaves 16 h 40 after FR 7351 arrives on the timetable: more than half a day, so not a connection we count.