BA 78 then BA 964 at Heathrow
Accra → London → Hamburg
Timetable, London time
04:50BA 78 from Accra at the gate
17:10BA 964 to Hamburg leaves the gate
12 h 20 apart on the timetable
BA 964 leaves 12 h 20 after BA 78 arrives on the timetable: more than half a day, so not a connection we count.