EC 7174 then QR 3527 at Barcelona
Berlin → Barcelona → Rome
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
20:50QR 3527 to Rome leaves the gate
21 h 45 apart on the timetable, overnight
QR 3527 leaves 21 h 45 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.