EW 2522 then HV 5134 at Barcelona
Stuttgart → Barcelona → Amsterdam
Timetable, Barcelona time
19:05EW 2522 from Stuttgart at the gate
17:45HV 5134 to Amsterdam leaves the gate
22 h 40 apart on the timetable, overnight
HV 5134 leaves 22 h 40 after EW 2522 arrives on the timetable: more than half a day, so not a connection we count.