W9 5776 then EC 8513 at Gatwick
Prague → London → Lisbon
Timetable, London time
23:55W9 5776 from Prague at the gate
19:35EC 8513 to Lisbon leaves the gate
19 h 40 apart on the timetable, overnight
EC 8513 leaves 19 h 40 after W9 5776 arrives on the timetable: more than half a day, so not a connection we count.