FR 5898 then FR 5444 at Madrid
Torino → Madrid → Beauvais
Timetable, Madrid time
15:10FR 5898 from Torino at the gate
14:10FR 5444 to Beauvais leaves the gate
23 h apart on the timetable, overnight
FR 5444 leaves 23 h after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.