FR 2508 then VY 1560 at Barcelona
Cologne → Barcelona → Málaga
Timetable, Barcelona time
21:45FR 2508 from Cologne at the gate
21:20VY 1560 to Málaga leaves the gate
23 h 35 apart on the timetable, overnight
VY 1560 leaves 23 h 35 after FR 2508 arrives on the timetable: more than half a day, so not a connection we count.