IB 731 then FR 2335 at Schiphol
Madrid → Amsterdam → Málaga
Timetable, Amsterdam time
11:25IB 731 from Madrid at the gate
10:05FR 2335 to Málaga leaves the gate
22 h 40 apart on the timetable, overnight
FR 2335 leaves 22 h 40 after IB 731 arrives on the timetable: more than half a day, so not a connection we count.