UX 42 then FR 572 at Madrid
Buenos Aires → Madrid → Porto
Timetable, Madrid time
02:00UX 42 from Buenos Aires at the gate
22:40FR 572 to Porto leaves the gate
20 h 40 apart on the timetable
FR 572 leaves 20 h 40 after UX 42 arrives on the timetable: more than half a day, so not a connection we count.