EC 8628 then U2 8315 at Gatwick
Berlin → London → Pisa
Timetable, London time
08:00EC 8628 from Berlin at the gate
06:25U2 8315 to Pisa leaves the gate
22 h 25 apart on the timetable, overnight
U2 8315 leaves 22 h 25 after EC 8628 arrives on the timetable: more than half a day, so not a connection we count.