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