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