FR 5898 then AV 2506 at Madrid
Torino → Madrid → Lisbon
Timetable, Madrid time
23:10FR 5898 from Torino at the gate
18:00AV 2506 to Lisbon leaves the gatealso EK 4859, AD 7273, S4 8963
18 h 50 apart on the timetable, overnight
AV 2506 leaves 18 h 50 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.