FR 7283 then W4 7547 at Madrid
Torino → Madrid → Málaga
Timetable, Madrid time
23:25FR 7283 from Torino at the gate
18:55W4 7547 to Málaga leaves the gate
19 h 30 apart on the timetable, overnight
W4 7547 leaves 19 h 30 after FR 7283 arrives on the timetable: more than half a day, so not a connection we count.