EW 7520 then LA 5746 at Barcelona
Hamburg → Barcelona → Amsterdam
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
11:35LA 5746 to Amsterdam leaves the gate
16 h 50 apart on the timetable, overnight
LA 5746 leaves 16 h 50 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.