BA 873 then BA 954 at Heathrow
Krakow → London → Munich
Timetable, London time
18:05BA 873 from Krakow at the gate
16:45BA 954 to Munich leaves the gate
22 h 40 apart on the timetable, overnight
BA 954 leaves 22 h 40 after BA 873 arrives on the timetable: more than half a day, so not a connection we count.