IB 5315 then EC 7173 at Barcelona
Palma de Mallorca → Barcelona → Berlin
Timetable, Barcelona time
14:50IB 5315 from Palma de Mallorca at the gate
12:45EC 7173 to Berlin leaves the gate
21 h 55 apart on the timetable, overnight
EC 7173 leaves 21 h 55 after IB 5315 arrives on the timetable: more than half a day, so not a connection we count.