EW 7520 then IB 5314 at Barcelona
Hamburg → Barcelona → Palma de Mallorca
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
13:10IB 5314 to Palma de Mallorca leaves the gate
18 h 25 apart on the timetable, overnight
IB 5314 leaves 18 h 25 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.