UX 6904 then FR 5997 at Madrid
Palma de Mallorca → Madrid → London Stansted
Timetable, Madrid time
07:40UX 6904 from Palma de Mallorca at the gate
21:25FR 5997 to London Stansted leaves the gate
13 h 45 apart on the timetable
FR 5997 leaves 13 h 45 after UX 6904 arrives on the timetable: more than half a day, so not a connection we count.