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