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