FR 3952 then FR 478 at Lisbon
Manchester → Lisbon → Edinburgh
Timetable, Lisbon time
20:55FR 3952 from Manchester at the gate
15:40FR 478 to Edinburgh leaves the gate
18 h 45 apart on the timetable, overnight
FR 478 leaves 18 h 45 after FR 3952 arrives on the timetable: more than half a day, so not a connection we count.