IB 52 then W4 6460 at Madrid
Málaga → Madrid → Milan
Timetable, Madrid time
13:15IB 52 from Málaga at the gate
13:00W4 6460 to Milan leaves the gate
23 h 45 apart on the timetable, overnight
W4 6460 leaves 23 h 45 after IB 52 arrives on the timetable: more than half a day, so not a connection we count.