VY 1006 then AA 95 at Madrid
Barcelona → Madrid → New York JFK
Timetable, Madrid time
11:35VY 1006 from Barcelona at the gatealso QR 5524, IB 5990, LL 5990
10:55AA 95 to New York JFK leaves the gatealso BA 1567, AY 3771, IB 4001
23 h 20 apart on the timetable, overnight
AA 95 leaves 23 h 20 after VY 1006 arrives on the timetable: more than half a day, so not a connection we count.