UX 1518 then EY 4310 at Madrid
Munich → Madrid → Palma de Mallorca
Timetable, Madrid time
21:45UX 1518 from Munich at the gatealso EY 4376, MU 4957, AM 6848
20:15EY 4310 to Palma de Mallorca leaves the gatealso UX 6051, AM 6872, AD 6960
22 h 30 apart on the timetable, overnight
EY 4310 leaves 22 h 30 after UX 1518 arrives on the timetable: more than half a day, so not a connection we count.