MS 757 then U2 3302 at Schiphol
Cairo → Amsterdam → Edinburgh
Timetable, Amsterdam time
13:45MS 757 from Cairo at the gate
10:10U2 3302 to Edinburgh leaves the gate
20 h 25 apart on the timetable, overnight
U2 3302 leaves 20 h 25 after MS 757 arrives on the timetable: more than half a day, so not a connection we count.