EW 2520 then VL 1809 at Barcelona
Stuttgart → Barcelona → Munich
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
09:10VL 1809 to Munich leaves the gate
18 h 45 apart on the timetable, overnight
VL 1809 leaves 18 h 45 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.