EW 2520 then W4 6316 at Barcelona
Stuttgart → Barcelona → Milan
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
13:10W4 6316 to Milan leaves the gate
22 h 45 apart on the timetable, overnight
W4 6316 leaves 22 h 45 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.