FR 2897 then FR 8215 at Barcelona
Palma de Mallorca → Barcelona → London Stansted
Timetable, Barcelona time
16:45FR 2897 from Palma de Mallorca at the gate
13:15FR 8215 to London Stansted leaves the gate
20 h 30 apart on the timetable, overnight
FR 8215 leaves 20 h 30 after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.