IB 5423 then QR 3522 at Barcelona
London Heathrow → Barcelona → Hamburg
Timetable, Barcelona time
13:10IB 5423 from London Heathrow at the gatealso LL 5423, VY 7641, BA 8083
07:25QR 3522 to Hamburg leaves the gate
18 h 15 apart on the timetable, overnight
QR 3522 leaves 18 h 15 after IB 5423 arrives on the timetable: more than half a day, so not a connection we count.