FR 10 then KL 1506 at Madrid
Dublin → Madrid → Amsterdam
Timetable, Madrid time
23:55FR 10 from Dublin at the gate
17:00KL 1506 to Amsterdam leaves the gate
17 h 05 apart on the timetable, overnight
KL 1506 leaves 17 h 05 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.