U2 8512 then EC 8631 at Gatwick
Lisbon → London → Berlin
Timetable, London time
18:50U2 8512 from Lisbon at the gate
14:35EC 8631 to Berlin leaves the gate
19 h 45 apart on the timetable, overnight
EC 8631 leaves 19 h 45 after U2 8512 arrives on the timetable: more than half a day, so not a connection we count.