FR 5898 then IB 777 at Madrid
Torino → Madrid → Hamburg
Timetable, Madrid time
23:10FR 5898 from Torino at the gate
19:45IB 777 to Hamburg leaves the gatealso LA 1697, VY 5126, AT 5906
20 h 35 apart on the timetable, overnight
IB 777 leaves 20 h 35 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.