FR 5998 then AZ 2427 at Madrid
London Stansted → Madrid → Porto
Timetable, Madrid time
20:50FR 5998 from London Stansted at the gate
19:05AZ 2427 to Porto leaves the gatealso AM 6918, SV 6974, EY 7513, AD 7866
22 h 15 apart on the timetable, overnight
AZ 2427 leaves 22 h 15 after FR 5998 arrives on the timetable: more than half a day, so not a connection we count.