FR 3073 then QR 3522 at Barcelona
Prague → Barcelona → Hamburg
Timetable, Barcelona time
13:30FR 3073 from Prague at the gate
07:25QR 3522 to Hamburg leaves the gate
17 h 55 apart on the timetable, overnight
QR 3522 leaves 17 h 55 after FR 3073 arrives on the timetable: more than half a day, so not a connection we count.