U2 8062 then LS 3105 at Gatwick
Barcelona → London → Málaga
Timetable, London time
08:50U2 8062 from Barcelona at the gate
06:25LS 3105 to Málaga leaves the gate
21 h 35 apart on the timetable, overnight
LS 3105 leaves 21 h 35 after U2 8062 arrives on the timetable: more than half a day, so not a connection we count.