EW 2520 then VY 1146 at Barcelona
Stuttgart → Barcelona → Lisbon
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
12:15VY 1146 to Lisbon leaves the gatealso QR 4685
21 h 50 apart on the timetable, overnight
VY 1146 leaves 21 h 50 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.