TP 823 then EC 7601 at Lisbon
Milan → Lisbon → Glasgow
Timetable, Lisbon time
13:55TP 823 from Milan at the gate
13:30EC 7601 to Glasgow leaves the gate
23 h 35 apart on the timetable, overnight
EC 7601 leaves 23 h 35 after TP 823 arrives on the timetable: more than half a day, so not a connection we count.