KL 9936 then UX 1094 at Schiphol
Forli → Amsterdam → Madrid
Timetable, Amsterdam time
21:22KL 9936 from Forli at the gate
19:00UX 1094 to Madrid leaves the gate
21 h 38 apart on the timetable, overnight
UX 1094 leaves 21 h 38 after KL 9936 arrives on the timetable: more than half a day, so not a connection we count.