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