FR 5898 then LA 1535 at Madrid
Torino → Madrid → Lisbon
Timetable, Madrid time
23:10FR 5898 from Torino at the gate
17:40LA 1535 to Lisbon leaves the gatealso VY 5215, DT 6112
18 h 30 apart on the timetable, overnight
LA 1535 leaves 18 h 30 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.