BA 1497 then TP 1351 at Heathrow
Glasgow → London → Lisbon
Timetable, London time
09:35BA 1497 from Glasgow at the gate
08:15TP 1351 to Lisbon leaves the gate
22 h 40 apart on the timetable, overnight
TP 1351 leaves 22 h 40 after BA 1497 arrives on the timetable: more than half a day, so not a connection we count.