PU 502 then FR 6713 at Madrid
Buenos Aires → Madrid → Budapest
Timetable, Madrid time
08:35PU 502 from Buenos Aires at the gate
06:00FR 6713 to Budapest leaves the gate
21 h 25 apart on the timetable, overnight
FR 6713 leaves 21 h 25 after PU 502 arrives on the timetable: more than half a day, so not a connection we count.