EC 7174 then QR 3769 at Barcelona
Berlin → Barcelona → Amsterdam
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
16:25QR 3769 to Amsterdam leaves the gate
17 h 20 apart on the timetable, overnight
QR 3769 leaves 17 h 20 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.