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