FR 5898 then IB 1331 at Madrid
Torino → Madrid → Frankfurt am Main
Timetable, Madrid time
23:10FR 5898 from Torino at the gate
19:50IB 1331 to Frankfurt am Main leaves the gatealso LA 1646
20 h 40 apart on the timetable, overnight
IB 1331 leaves 20 h 40 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.