BA 457 then BA 746 at Heathrow
Madrid → London → Geneva
Timetable, London time
12:00BA 457 from Madrid at the gate
10:30BA 746 to Geneva leaves the gate
22 h 30 apart on the timetable, overnight
BA 746 leaves 22 h 30 after BA 457 arrives on the timetable: more than half a day, so not a connection we count.