EW 2520 then VY 1106 at Barcelona
Stuttgart → Barcelona → Granada
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
08:40VY 1106 to Granada leaves the gatealso QR 3540, LL 5060
18 h 15 apart on the timetable, overnight
VY 1106 leaves 18 h 15 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.