BA 563 then BA 872 at Heathrow
Rome → London → Krakow
Timetable, London time
10:30BA 563 from Rome at the gate
06:05BA 872 to Krakow leaves the gate
19 h 35 apart on the timetable, overnight
BA 872 leaves 19 h 35 after BA 563 arrives on the timetable: more than half a day, so not a connection we count.