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