FR 499 then AA 8679 at Madrid
London Stansted → Madrid → Porto
Timetable, Madrid time
13:15FR 499 from London Stansted at the gate
11:25AA 8679 to Porto leaves the gate
22 h 10 apart on the timetable, overnight
AA 8679 leaves 22 h 10 after FR 499 arrives on the timetable: more than half a day, so not a connection we count.