IB 713 then BA 540 at Heathrow
Madrid → London → Bologna
Timetable, London time
09:15IB 713 from Madrid at the gate
08:35BA 540 to Bologna leaves the gate
23 h 20 apart on the timetable, overnight
BA 540 leaves 23 h 20 after IB 713 arrives on the timetable: more than half a day, so not a connection we count.