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