U2 8057 then QR 3522 at Barcelona
London Gatwick → Barcelona → Hamburg
Timetable, Barcelona time
19:05U2 8057 from London Gatwick at the gate
07:25QR 3522 to Hamburg leaves the gate
12 h 20 apart on the timetable, overnight
QR 3522 leaves 12 h 20 after U2 8057 arrives on the timetable: more than half a day, so not a connection we count.