FR 12 then OS 663 at Vienna
Barcelona → Vienna → Warsaw
Timetable, Vienna time
13:25FR 12 from Barcelona at the gate
13:00OS 663 to Warsaw leaves the gate
23 h 35 apart on the timetable, overnight
OS 663 leaves 23 h 35 after FR 12 arrives on the timetable: more than half a day, so not a connection we count.