UX 7701 then QR 3566 at Barcelona
Madrid → Barcelona → Palma de Mallorca
Timetable, Barcelona time
08:55UX 7701 from Madrid at the gate
21:00QR 3566 to Palma de Mallorca leaves the gate
12 h 05 apart on the timetable
QR 3566 leaves 12 h 05 after UX 7701 arrives on the timetable: more than half a day, so not a connection we count.