FR 2064 then FR 348 at Madrid
Palma de Mallorca → Madrid → London Stansted
Timetable, Madrid time
17:20FR 2064 from Palma de Mallorca at the gate
14:30FR 348 to London Stansted leaves the gate
21 h 10 apart on the timetable, overnight
FR 348 leaves 21 h 10 after FR 2064 arrives on the timetable: more than half a day, so not a connection we count.