EC 7152 then IB 5314 at Barcelona
Milan → Barcelona → Palma de Mallorca
Timetable, Barcelona time
14:25EC 7152 from Milan at the gate
12:50IB 5314 to Palma de Mallorca leaves the gate
22 h 25 apart on the timetable, overnight
IB 5314 leaves 22 h 25 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.