FR 2514 then E9 801 at Madrid
Bucharest → Madrid → Punta Cana
Timetable, Madrid time
22:35FR 2514 from Bucharest at the gate
16:00E9 801 to Punta Cana leaves the gate
17 h 25 apart on the timetable, overnight
E9 801 leaves 17 h 25 after FR 2514 arrives on the timetable: more than half a day, so not a connection we count.