UX 4060 then EY 4310 at Madrid
Valencia → Madrid → Palma de Mallorca
Timetable, Madrid time
21:45UX 4060 from Valencia at the gatealso AM 6859, EY 7520
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 4060 arrives on the timetable: more than half a day, so not a connection we count.