IB 711 then BA 922 at Heathrow
Madrid → London → Hannover
Timetable, London time
08:25IB 711 from Madrid at the gate
07:55BA 922 to Hannover leaves the gate
23 h 30 apart on the timetable, overnight
BA 922 leaves 23 h 30 after IB 711 arrives on the timetable: more than half a day, so not a connection we count.