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