FR 3008 then UX 1517 at Madrid
Milan → Madrid → Munich
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
15:05UX 1517 to Munich leaves the gatealso EY 4377, MU 4956, AM 6957
19 h 15 apart on the timetable, overnight
UX 1517 leaves 19 h 15 after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.