W6 2375 then FR 269 at Barcelona
Budapest → Barcelona → Milan
Timetable, Barcelona time
08:40W6 2375 from Budapest at the gate
08:15FR 269 to Milan leaves the gate
23 h 35 apart on the timetable, overnight
FR 269 leaves 23 h 35 after W6 2375 arrives on the timetable: more than half a day, so not a connection we count.