VL 1800 then FR 8345 at Madrid
Munich → Madrid → Krakow
Timetable, Madrid time
11:10VL 1800 from Munich at the gate
10:10FR 8345 to Krakow leaves the gate
23 h apart on the timetable, overnight
FR 8345 leaves 23 h after VL 1800 arrives on the timetable: more than half a day, so not a connection we count.