FR 499 then VY 5222 at Madrid
London Stansted → Madrid → Palma de Mallorca
Timetable, Madrid time
16:00FR 499 from London Stansted at the gate
13:45VY 5222 to Palma de Mallorca leaves the gate
21 h 45 apart on the timetable, overnight
VY 5222 leaves 21 h 45 after FR 499 arrives on the timetable: more than half a day, so not a connection we count.