EW 520 then VY 1546 at Barcelona
Cologne → Barcelona → Málaga
Timetable, Barcelona time
16:50EW 520 from Cologne at the gate
13:55VY 1546 to Málaga leaves the gatealso IB 5186, LL 5186
21 h 05 apart on the timetable, overnight
VY 1546 leaves 21 h 05 after EW 520 arrives on the timetable: more than half a day, so not a connection we count.