EW 7520 then QR 4676 at Barcelona
Hamburg → Barcelona → Amsterdam
Timetable, Barcelona time
16:20EW 7520 from Hamburg at the gate
13:20QR 4676 to Amsterdam leaves the gatealso IB 5006, LL 5006
21 h apart on the timetable, overnight
QR 4676 leaves 21 h after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.