W4 7542 then FR 9602 at Madrid
Málaga → Madrid → Rome
Timetable, Madrid time
10:00W4 7542 from Málaga at the gate
06:00FR 9602 to Rome leaves the gate
20 h apart on the timetable, overnight
FR 9602 leaves 20 h after W4 7542 arrives on the timetable: more than half a day, so not a connection we count.