VL 1800 then IB 57 at Madrid
Munich → Madrid → Málaga
Timetable, Madrid time
11:10VL 1800 from Munich at the gate
09:55IB 57 to Málaga leaves the gate
22 h 45 apart on the timetable, overnight
IB 57 leaves 22 h 45 after VL 1800 arrives on the timetable: more than half a day, so not a connection we count.