LL 5123 then VY 1562 at Barcelona
Munich → Barcelona → Málaga
Timetable, Barcelona time
18:45LL 5123 from Munich at the gate
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 LL 5123 arrives on the timetable: more than half a day, so not a connection we count.