DL 126 then FR 2539 at Madrid
New York JFK → Madrid → Bucharest
Timetable, Madrid time
07:20DL 126 from New York JFK at the gatealso AF 3679
05:50FR 2539 to Bucharest leaves the gate
22 h 30 apart on the timetable, overnight
FR 2539 leaves 22 h 30 after DL 126 arrives on the timetable: more than half a day, so not a connection we count.