EC 7174 then QR 4706 at Barcelona
Berlin → Barcelona → Porto
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
20:25QR 4706 to Porto leaves the gatealso IB 5096, LL 5096
21 h 20 apart on the timetable, overnight
QR 4706 leaves 21 h 20 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.