EC 7176 then QR 3577 at Barcelona
Berlin → Barcelona → Berlin
Timetable, Barcelona time
01:05EC 7176 from Berlin at the gate
14:50QR 3577 to Berlin leaves the gate
13 h 45 apart on the timetable
QR 3577 leaves 13 h 45 after EC 7176 arrives on the timetable: more than half a day, so not a connection we count.