BA 873 then BA 938 at Heathrow
Krakow → London → Düsseldorf
Timetable, London time
18:05BA 873 from Krakow at the gate
17:25BA 938 to Düsseldorf leaves the gate
23 h 20 apart on the timetable, overnight
BA 938 leaves 23 h 20 after BA 873 arrives on the timetable: more than half a day, so not a connection we count.