BA 493 then BA 992 at Heathrow
Gibraltar → London → Berlin
Timetable, London time
20:50BA 493 from Gibraltar at the gate
18:55BA 992 to Berlin leaves the gate
22 h 05 apart on the timetable, overnight
BA 992 leaves 22 h 05 after BA 493 arrives on the timetable: more than half a day, so not a connection we count.