KL 1505 then FR 3009 at Madrid
Amsterdam → Madrid → Milan
Timetable, Madrid time
16:05KL 1505 from Amsterdam at the gate
14:25FR 3009 to Milan leaves the gate
22 h 20 apart on the timetable, overnight
FR 3009 leaves 22 h 20 after KL 1505 arrives on the timetable: more than half a day, so not a connection we count.