VY 1163 then VY 1562 at Barcelona
Munich → Barcelona → Málaga
Timetable, Barcelona time
18:45VY 1163 from Munich at the gatealso IB 5123
18:05VY 1562 to Málaga leaves the gatealso IB 5512, LL 5512
23 h 20 apart on the timetable, overnight
VY 1562 leaves 23 h 20 after VY 1163 arrives on the timetable: more than half a day, so not a connection we count.