W4 6315 then FR 7351 at Barcelona
Milan → Barcelona → Vienna
Timetable, Barcelona time
12:25W4 6315 from Milan at the gate
10:05FR 7351 to Vienna leaves the gate
21 h 40 apart on the timetable, overnight
FR 7351 leaves 21 h 40 after W4 6315 arrives on the timetable: more than half a day, so not a connection we count.