U2 8514 then EC 8063 at Gatwick
Lisbon → London → Barcelona
Timetable, London time
09:55U2 8514 from Lisbon at the gate
09:25EC 8063 to Barcelona leaves the gate
23 h 30 apart on the timetable, overnight
EC 8063 leaves 23 h 30 after U2 8514 arrives on the timetable: more than half a day, so not a connection we count.