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