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