U2 8526 then U2 8061 at Gatwick
Porto → London → Barcelona
Timetable, London time
23:35U2 8526 from Porto at the gate
20:00U2 8061 to Barcelona leaves the gate
20 h 25 apart on the timetable, overnight
U2 8061 leaves 20 h 25 after U2 8526 arrives on the timetable: more than half a day, so not a connection we count.