BA 1361 then BA 492 at Heathrow
Manchester → London → Gibraltar
Timetable, London time
11:00BA 1361 from Manchester at the gate
08:10BA 492 to Gibraltar leaves the gate
21 h 10 apart on the timetable, overnight
BA 492 leaves 21 h 10 after BA 1361 arrives on the timetable: more than half a day, so not a connection we count.