BA 993 then BA 872 at Heathrow
Berlin → London → Krakow
Timetable, London time
07:40BA 993 from Berlin at the gate
06:55BA 872 to Krakow leaves the gate
23 h 15 apart on the timetable, overnight
BA 872 leaves 23 h 15 after BA 993 arrives on the timetable: more than half a day, so not a connection we count.