DL 126 then VY 1009 at Madrid
New York JFK → Madrid → Barcelona
Timetable, Madrid time
07:20DL 126 from New York JFK at the gatealso UX 3392, AF 3679, KL 6126
19:30VY 1009 to Barcelona leaves the gatealso QR 5530, IB 5993, LL 5993
12 h 10 apart on the timetable
VY 1009 leaves 12 h 10 after DL 126 arrives on the timetable: more than half a day, so not a connection we count.