FR 5898 then IB 493 at Madrid
Torino → Madrid → Santander
Timetable, Madrid time
17:35FR 5898 from Torino at the gate
15:50IB 493 to Santander leaves the gatealso VY 5356, AY 5589, BA 7217
22 h 15 apart on the timetable, overnight
IB 493 leaves 22 h 15 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.