FR 2052 then AA 8679 at Madrid
Palma de Mallorca → Madrid → Porto
Timetable, Madrid time
16:50FR 2052 from Palma de Mallorca at the gate
11:25AA 8679 to Porto leaves the gate
18 h 35 apart on the timetable, overnight
AA 8679 leaves 18 h 35 after FR 2052 arrives on the timetable: more than half a day, so not a connection we count.