EC 7154 then VY 3906 at Barcelona
Milan → Barcelona → Palma de Mallorca
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
20:55VY 3906 to Palma de Mallorca leaves the gatealso LL 5296
21 h 40 apart on the timetable, overnight
VY 3906 leaves 21 h 40 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.