EC 7152 then QR 3542 at Barcelona
Milan → Barcelona → Palma de Mallorca
Timetable, Barcelona time
14:25EC 7152 from Milan at the gate
14:00QR 3542 to Palma de Mallorca leaves the gate
23 h 35 apart on the timetable, overnight
QR 3542 leaves 23 h 35 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.