FR 6712 then KL 1502 at Madrid
Budapest → Madrid → Amsterdam
Timetable, Madrid time
11:55FR 6712 from Budapest at the gate
10:50KL 1502 to Amsterdam leaves the gate
22 h 55 apart on the timetable, overnight
KL 1502 leaves 22 h 55 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.