EW 2520 then ET 1426 at Barcelona
Stuttgart → Barcelona → Madrid
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
11:50ET 1426 to Madrid leaves the gatealso ME 4006, EY 4389, SV 6026, KU 6096, KE 6652, DL 6767, AM 6810, UX 7706, SK 8354
21 h 25 apart on the timetable, overnight
ET 1426 leaves 21 h 25 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.