AA 66 then QR 3646 at Barcelona
New York JFK → Barcelona → Almeria
Timetable, Barcelona time
09:55AA 66 from New York JFK at the gatealso BA 1556, AY 3820, IB 4004
07:30QR 3646 to Almeria leaves the gate
21 h 35 apart on the timetable, overnight
QR 3646 leaves 21 h 35 after AA 66 arrives on the timetable: more than half a day, so not a connection we count.