EW 520 then IB 5322 at Barcelona
Cologne → Barcelona → Palma de Mallorca
Timetable, Barcelona time
16:50EW 520 from Cologne at the gate
16:15IB 5322 to Palma de Mallorca leaves the gate
23 h 25 apart on the timetable, overnight
IB 5322 leaves 23 h 25 after EW 520 arrives on the timetable: more than half a day, so not a connection we count.