FR 6712 then AZ 2419 at Madrid
Budapest → Madrid → Porto
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
15:00AZ 2419 to Porto leaves the gatealso SV 4731, DL 6757, AM 6852, EY 7516, AD 7867, SK 8375, RO 9455
20 h 50 apart on the timetable, overnight
AZ 2419 leaves 20 h 50 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.