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