UX 16 then IB 1667 at Madrid
La Mesa → Madrid → Palma de Mallorca
Timetable, Madrid time
23:10UX 16 from La Mesa at the gate
15:45IB 1667 to Palma de Mallorca leaves the gate
16 h 35 apart on the timetable, overnight
IB 1667 leaves 16 h 35 after UX 16 arrives on the timetable: more than half a day, so not a connection we count.