IB 52 then VL 1801 at Madrid
Málaga → Madrid → Munich
Timetable, Madrid time
13:15IB 52 from Málaga at the gate
12:00VL 1801 to Munich leaves the gate
22 h 45 apart on the timetable, overnight
VL 1801 leaves 22 h 45 after IB 52 arrives on the timetable: more than half a day, so not a connection we count.