KL 938 then FR 5692 at Schiphol
Glasgow → Amsterdam → Málaga
Timetable, Amsterdam time
13:30KL 938 from Glasgow at the gate
10:10FR 5692 to Málaga leaves the gate
20 h 40 apart on the timetable, overnight
FR 5692 leaves 20 h 40 after KL 938 arrives on the timetable: more than half a day, so not a connection we count.