UX 34 then FR 572 at Madrid
Punta Cana → Madrid → Porto
Timetable, Madrid time
11:25UX 34 from Punta Cana at the gate
09:20FR 572 to Porto leaves the gate
21 h 55 apart on the timetable, overnight
FR 572 leaves 21 h 55 after UX 34 arrives on the timetable: more than half a day, so not a connection we count.