UX 1028 then FR 572 at Madrid
Paris Orly → Madrid → Porto
Timetable, Madrid time
12:55UX 1028 from Paris Orly at the gate
11:15FR 572 to Porto leaves the gate
22 h 20 apart on the timetable, overnight
FR 572 leaves 22 h 20 after UX 1028 arrives on the timetable: more than half a day, so not a connection we count.