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