FR 3142 then FR 8384 at Barcelona
Milan Bergamo → Barcelona → Budapest
Timetable, Barcelona time
21:50FR 3142 from Milan Bergamo at the gate
11:40FR 8384 to Budapest leaves the gate
13 h 50 apart on the timetable, overnight
FR 8384 leaves 13 h 50 after FR 3142 arrives on the timetable: more than half a day, so not a connection we count.