BA 873 then EK 30 at Heathrow
Krakow → London → Dubai
Timetable, London time
18:05BA 873 from Krakow at the gate
15:50EK 30 to Dubai leaves the gate
21 h 45 apart on the timetable, overnight
EK 30 leaves 21 h 45 after BA 873 arrives on the timetable: more than half a day, so not a connection we count.