FR 5322 then AZ 2419 at Madrid
Milan → Madrid → Porto
Timetable, Madrid time
19:45FR 5322 from Milan 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
19 h 15 apart on the timetable, overnight
AZ 2419 leaves 19 h 15 after FR 5322 arrives on the timetable: more than half a day, so not a connection we count.