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