AZ 76 then QR 3614 at Barcelona
Rome → Barcelona → Berlin
Timetable, Barcelona time
15:55AZ 76 from Rome at the gate
14:50QR 3614 to Berlin leaves the gate
22 h 55 apart on the timetable, overnight
QR 3614 leaves 22 h 55 after AZ 76 arrives on the timetable: more than half a day, so not a connection we count.