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