BA 142 then BA 872 at Heathrow
New Delhi → London → Krakow
Timetable, London time
07:40BA 142 from New Delhi 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 142 arrives on the timetable: more than half a day, so not a connection we count.