FR 6712 then IB 211 at Madrid
Budapest → Madrid → New York JFK
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
12:20IB 211 to New York JFK leaves the gatealso BA 4267, EI 5855
18 h 10 apart on the timetable, overnight
IB 211 leaves 18 h 10 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.