FR 403 then AD 7287 at Madrid
Palma de Mallorca → Madrid → Lisbon
Timetable, Madrid time
23:35FR 403 from Palma de Mallorca at the gate
21:10AD 7287 to Lisbon leaves the gatealso S4 8697
21 h 35 apart on the timetable, overnight
AD 7287 leaves 21 h 35 after FR 403 arrives on the timetable: more than half a day, so not a connection we count.