FR 7283 then IB 379 at Madrid
Torino → Madrid → San Juan
Timetable, Madrid time
23:25FR 7283 from Torino at the gate
16:00IB 379 to San Juan leaves the gate
16 h 35 apart on the timetable, overnight
IB 379 leaves 16 h 35 after FR 7283 arrives on the timetable: more than half a day, so not a connection we count.