W6 2377 then FR 867 at Barcelona
Budapest → Barcelona → Venezia
Timetable, Barcelona time
20:05W6 2377 from Budapest at the gate
09:45FR 867 to Venezia leaves the gate
13 h 40 apart on the timetable, overnight
FR 867 leaves 13 h 40 after W6 2377 arrives on the timetable: more than half a day, so not a connection we count.