FR 5994 then FR 2061 at Madrid
London Stansted → Madrid → Palma de Mallorca
Timetable, Madrid time
21:05FR 5994 from London Stansted at the gate
16:40FR 2061 to Palma de Mallorca leaves the gate
19 h 35 apart on the timetable, overnight
FR 2061 leaves 19 h 35 after FR 5994 arrives on the timetable: more than half a day, so not a connection we count.