VY 1052 then FR 2335 at Schiphol
Barcelona → Amsterdam → Málaga
Timetable, Amsterdam time
09:45VY 1052 from Barcelona at the gate
09:35FR 2335 to Málaga leaves the gate
23 h 50 apart on the timetable, overnight
FR 2335 leaves 23 h 50 after VY 1052 arrives on the timetable: more than half a day, so not a connection we count.