FR 6304 then FR 1421 at Barcelona
Milan Bergamo → Barcelona → Budapest
Timetable, Barcelona time
15:50FR 6304 from Milan Bergamo at the gate
14:30FR 1421 to Budapest leaves the gate
22 h 40 apart on the timetable, overnight
FR 1421 leaves 22 h 40 after FR 6304 arrives on the timetable: more than half a day, so not a connection we count.