AC 1951 then AC 8836 at Toronto Pearson
Quebec → Toronto → Raleigh-Durham
Timetable, Toronto time
12:28AC 1951 from Quebec at the gate
12:15AC 8836 to Raleigh-Durham leaves the gate
23 h 47 apart on the timetable, overnight
AC 8836 leaves 23 h 47 after AC 1951 arrives on the timetable: more than half a day, so not a connection we count.