EW 2520 then MU 250 at Barcelona
Stuttgart → Barcelona → Shanghai
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
10:20MU 250 to Shanghai leaves the gate
19 h 55 apart on the timetable, overnight
MU 250 leaves 19 h 55 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.