IB 5311 then EC 7173 at Barcelona
Palma de Mallorca → Barcelona → Berlin
Timetable, Barcelona time
13:05IB 5311 from Palma de Mallorca at the gate
07:20EC 7173 to Berlin leaves the gate
18 h 15 apart on the timetable, overnight
EC 7173 leaves 18 h 15 after IB 5311 arrives on the timetable: more than half a day, so not a connection we count.