FR 8385 then W4 6316 at Barcelona
Budapest → Barcelona → Milan
Timetable, Barcelona time
22:40FR 8385 from Budapest at the gate
13:10W4 6316 to Milan leaves the gate
14 h 30 apart on the timetable, overnight
W4 6316 leaves 14 h 30 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.