FR 393 then FR 5993 at Madrid
Ibiza → Madrid → London Stansted
Timetable, Madrid time
21:25FR 393 from Ibiza at the gate
20:20FR 5993 to London Stansted leaves the gate
22 h 55 apart on the timetable, overnight
FR 5993 leaves 22 h 55 after FR 393 arrives on the timetable: more than half a day, so not a connection we count.