FR 270 then IB 5322 at Barcelona
Milan → Barcelona → Palma de Mallorca
Timetable, Barcelona time
17:55FR 270 from Milan at the gate
16:15IB 5322 to Palma de Mallorca leaves the gate
22 h 20 apart on the timetable, overnight
IB 5322 leaves 22 h 20 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.