U2 7890 then KL 1781 at Schiphol
Málaga → Amsterdam → Berlin
Timetable, Amsterdam time
21:45U2 7890 from Málaga at the gate
16:25KL 1781 to Berlin leaves the gate
18 h 40 apart on the timetable, overnight
KL 1781 leaves 18 h 40 after U2 7890 arrives on the timetable: more than half a day, so not a connection we count.