AC 1961 then AC 1914 at Toronto Pearson
Quebec → Toronto → Ottawa
Timetable, Toronto time
23:28AC 1961 from Quebec at the gate
16:10AC 1914 to Ottawa leaves the gate
16 h 42 apart on the timetable, overnight
AC 1914 leaves 16 h 42 after AC 1961 arrives on the timetable: more than half a day, so not a connection we count.