W9 5724 then U2 8027 at Gatwick
Málaga → London → Mahón
Timetable, London time
12:55W9 5724 from Málaga at the gate
09:00U2 8027 to Mahón leaves the gate
20 h 05 apart on the timetable, overnight
U2 8027 leaves 20 h 05 after W9 5724 arrives on the timetable: more than half a day, so not a connection we count.