IB 713 then BA 594 at Heathrow
Madrid → London → Venezia
Timetable, London time
09:15IB 713 from Madrid at the gate
08:05BA 594 to Venezia leaves the gate
22 h 50 apart on the timetable, overnight
BA 594 leaves 22 h 50 after IB 713 arrives on the timetable: more than half a day, so not a connection we count.