FR 8385 then EC 7153 at Barcelona
Budapest → Barcelona → Milan
Timetable, Barcelona time
18:00FR 8385 from Budapest at the gate
13:25EC 7153 to Milan leaves the gate
19 h 25 apart on the timetable, overnight
EC 7153 leaves 19 h 25 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.