AC 864 then BA 370 at Heathrow
Montréal → London → Toulouse
Timetable, London time
07:10AC 864 from Montréal at the gate
06:25BA 370 to Toulouse leaves the gate
23 h 15 apart on the timetable, overnight
BA 370 leaves 23 h 15 after AC 864 arrives on the timetable: more than half a day, so not a connection we count.