AA 40 then QR 3623 at Barcelona
Chicago → Barcelona → Salerno
Timetable, Barcelona time
09:35AA 40 from Chicago at the gate
07:10QR 3623 to Salerno leaves the gate
21 h 35 apart on the timetable, overnight
QR 3623 leaves 21 h 35 after AA 40 arrives on the timetable: more than half a day, so not a connection we count.