FR 5691 then U2 3302 at Schiphol
Málaga → Amsterdam → Edinburgh
Timetable, Amsterdam time
18:30FR 5691 from Málaga at the gate
10:40U2 3302 to Edinburgh leaves the gate
16 h 10 apart on the timetable, overnight
U2 3302 leaves 16 h 10 after FR 5691 arrives on the timetable: more than half a day, so not a connection we count.