EW 7520 then QR 3794 at Barcelona
Hamburg → Barcelona → Palma de Mallorca
Timetable, Barcelona time
09:30EW 7520 from Hamburg at the gate
23:00QR 3794 to Palma de Mallorca leaves the gate
13 h 30 apart on the timetable
QR 3794 leaves 13 h 30 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.