FR 5996 then FR 2775 at Madrid
London Stansted → Madrid → Palma de Mallorca
Timetable, Madrid time
00:15FR 5996 from London Stansted at the gate
21:15FR 2775 to Palma de Mallorca leaves the gate
21 h apart on the timetable
FR 2775 leaves 21 h after FR 5996 arrives on the timetable: more than half a day, so not a connection we count.