FR 1680 then QR 3522 at Barcelona
Hahn → Barcelona → Hamburg
Timetable, Barcelona time
13:05FR 1680 from Hahn at the gate
07:25QR 3522 to Hamburg leaves the gate
18 h 20 apart on the timetable, overnight
QR 3522 leaves 18 h 20 after FR 1680 arrives on the timetable: more than half a day, so not a connection we count.