DE 9272 then FR 2051 at Madrid
Munich → Madrid → Palma de Mallorca
Timetable, Madrid time
15:00DE 9272 from Munich at the gate
07:50FR 2051 to Palma de Mallorca leaves the gate
16 h 50 apart on the timetable, overnight
FR 2051 leaves 16 h 50 after DE 9272 arrives on the timetable: more than half a day, so not a connection we count.