BA 1383 then BA 490 at Heathrow
Manchester → London → Gibraltar
Timetable, London time
08:00BA 1383 from Manchester at the gate
06:45BA 490 to Gibraltar leaves the gate
22 h 45 apart on the timetable, overnight
BA 490 leaves 22 h 45 after BA 1383 arrives on the timetable: more than half a day, so not a connection we count.