BA 893 then EW 7465 at Heathrow
Sofia → London → Hamburg
Timetable, London time
21:10BA 893 from Sofia at the gate
19:20EW 7465 to Hamburg leaves the gate
22 h 10 apart on the timetable, overnight
EW 7465 leaves 22 h 10 after BA 893 arrives on the timetable: more than half a day, so not a connection we count.