AA 66 then QR 3771 at Barcelona
New York JFK → Barcelona → Basel
Timetable, Barcelona time
10:25AA 66 from New York JFK at the gatealso BA 1556, AY 3820, IB 4004
08:45QR 3771 to Basel leaves the gate
22 h 20 apart on the timetable, overnight
QR 3771 leaves 22 h 20 after AA 66 arrives on the timetable: more than half a day, so not a connection we count.