FR 2897 then QR 3522 at Barcelona
Palma de Mallorca → Barcelona → Hamburg
Timetable, Barcelona time
19:15FR 2897 from Palma de Mallorca at the gate
07:25QR 3522 to Hamburg leaves the gate
12 h 10 apart on the timetable, overnight
QR 3522 leaves 12 h 10 after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.