FR 5898 then IB 919 at Madrid
Torino → Madrid → Dakar
Timetable, Madrid time
23:10FR 5898 from Torino at the gate
16:10IB 919 to Dakar leaves the gatealso VY 5519, QR 8018, AA 8558
17 h apart on the timetable, overnight
IB 919 leaves 17 h after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.