IB 533 then FR 478 at Lisbon
Madrid → Lisbon → Edinburgh
Timetable, Lisbon time
16:05IB 533 from Madrid at the gate
10:05FR 478 to Edinburgh leaves the gate
18 h apart on the timetable, overnight
FR 478 leaves 18 h after IB 533 arrives on the timetable: more than half a day, so not a connection we count.