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