W9 5377 then FR 1421 at Barcelona
London Luton → Barcelona → Budapest
Timetable, Barcelona time
15:25W9 5377 from London Luton at the gate
14:30FR 1421 to Budapest leaves the gate
23 h 05 apart on the timetable, overnight
FR 1421 leaves 23 h 05 after W9 5377 arrives on the timetable: more than half a day, so not a connection we count.