U2 8316 then EC 8627 at Gatwick
Pisa → London → Berlin
Timetable, London time
15:25U2 8316 from Pisa at the gate
15:00EC 8627 to Berlin leaves the gate
23 h 35 apart on the timetable, overnight
EC 8627 leaves 23 h 35 after U2 8316 arrives on the timetable: more than half a day, so not a connection we count.