AC 812 then UX 1152 at Lisbon
Montréal → Lisbon → Madrid
Timetable, Lisbon time
10:40AC 812 from Montréal at the gate
07:45UX 1152 to Madrid leaves the gate
21 h 05 apart on the timetable, overnight
UX 1152 leaves 21 h 05 after AC 812 arrives on the timetable: more than half a day, so not a connection we count.